This function call is required to init dm pmic framework and drivers before call to power_init_board().
Signed-off-by: Przemyslaw Marczak <p.marc...@samsung.com> --- common/board_r.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/board_r.c b/common/board_r.c index cd92288..e574130 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -285,6 +285,11 @@ __weak int power_init_board(void) return 0; } +__weak int pmic_init_dm(void) +{ + return 0; +} + static int initr_announce(void) { debug("Now running in RAM - U-Boot at: %08lx\n", gd->relocaddr); @@ -775,6 +780,9 @@ init_fnc_t init_sequence_r[] = { #ifdef CONFIG_ARCH_EARLY_INIT_R arch_early_init_r, #endif +#ifdef CONFIG_DM_PMIC + pmic_init_dm, +#endif power_init_board, #ifndef CONFIG_SYS_NO_FLASH initr_flash, -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot