1
0
Fork 0

MLK-20257 imx8qxp_arm2: Fix NAND boot reset issue

The power domain driver is not ready when running board_early_init_f,
but we call it imx8qxp_gpmi_nand_initialize. so this cause u-boot reset
in early stage.

Signed-off-by: Ye Li <ye.li@nxp.com>
Tested-by: Han Xu <han.xu@nxp.com>
zero-sugar
Ye Li 2018-11-05 18:15:54 -08:00
parent d86096accb
commit 9a897099ed
1 changed files with 6 additions and 0 deletions

View File

@ -164,8 +164,10 @@ int board_early_init_f(void)
setup_iomux_uart();
#ifdef CONFIG_SPL_BUILD
#ifdef CONFIG_NAND_MXS
imx8qxp_gpmi_nand_initialize();
#endif
#endif
return 0;
@ -609,6 +611,10 @@ int board_init(void)
setup_fec(CONFIG_FEC_ENET_DEV);
#endif
#ifdef CONFIG_NAND_MXS
imx8qxp_gpmi_nand_initialize();
#endif
return 0;
}