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
parent
d86096accb
commit
9a897099ed
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue