| 1ab027cb | 28-Oct-2010 |
Shawn Guo <shawn.gsc@gmail.com> |
mx51evk: support new relocation scheme
This patch is to fix build breakage and support new relocation scheme for mx51evk.
- Correct IRAM base address and add size definition
The IRAM starts from
mx51evk: support new relocation scheme
This patch is to fix build breakage and support new relocation scheme for mx51evk.
- Correct IRAM base address and add size definition
The IRAM starts from 0x1FFE0000 on final revsion i.mx51 than 0x1FFE8000 which is for older revision.
- Include imx-regs.h in mx51evk.h
Definitions like CSD0_BASE_ADDR and IRAM_BASE_ADDR can be referred to.
- Define CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE
They are used to define init RAM layout.
- Remove comment for CONFIG_SYS_GBL_DATA_SIZE which has been buried by Wolfgang's commit below
25ddd1fb: Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value
Signed-off-by: Shawn Guo <shawn.gsc@gmail.com>
show more ...
|
| 888b4f43 | 27-Oct-2010 |
Shawn Guo <shawn.gsc@gmail.com> |
mx51evk: Fix 2 hours reset issue
The mx51evk u-boot has an issue that system will get reset every 2 hours.
MC13892 has an inside charge timer which expires in 120 minutes. If ICHRG and CHGAUTOB are
mx51evk: Fix 2 hours reset issue
The mx51evk u-boot has an issue that system will get reset every 2 hours.
MC13892 has an inside charge timer which expires in 120 minutes. If ICHRG and CHGAUTOB are not set properly, this timer expiration will get system power recycled.
Since mx51evk has no Li-Ion battery on board, the patch sets ICHRG in externally powered mode and sets CHGAUTOB bit to avoid automatic charging, so that system will not get reset by this timer expiration.
The patch also corrects the bit field definition of register 48 (Charger 0) per latest MC13892 Reference Manual.
Signed-off-by: Shawn Guo <shawn.gsc@gmail.com>
show more ...
|