diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-12-26 05:50:20 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-12-27 11:03:43 +0100 |
commit | 54bb84115da5f43b0e23f1c57f7d1ab80748005c (patch) | |
tree | a37dbc9981b57cb23c0d7578c05dfbe8ede42f69 /include/configs | |
parent | 2f994fe622dcb01a87d83eacee5df0b29f33d306 (diff) |
mx53loco: Call PMIC related functions from board_late_init()
Since commit c733681 (pmic: Extend PMIC framework to support multiple instances
of PMIC devices) mx53loco fails to allocate the memory for PMIC:
U-Boot 2013.01-rc2-dirty (Dec 20 2012 - 15:55:01)
Board: MX53 LOCO
I2C: ready
DRAM: 1 GiB
pmic_alloc: No available memory for allocation!
pmic_init: POWER allocation error!
CPU: Freescale i.MX53 family rev2.0 at 800 MHz
Reset cause: POR
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Calling the PMIC related functions at a later stage, ie, from board_late_init()
fixes the issue.
Reported-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx53loco.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 4cfdc0b958..996396b99b 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -39,6 +39,7 @@ #define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024) #define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_BOARD_LATE_INIT #define CONFIG_MXC_GPIO #define CONFIG_REVISION_TAG |