[PATCH V3 5/5] board: bsh: Switch to nand spl load instead of romapi

15 May
2022
15 May
'22
11:31 a.m.
romapi is not eble to skip bad block so we need to workaround using the spl
Signed-off-by: Michael Trimarchi michael@amarulasolutions.com --- board/bsh/imx8mn_smm_s2/spl.c | 3 +++ 1 file changed, 3 insertions(+) --- V2->V3: - Add to series and fix if condition V1->V2: - none --- diff --git a/board/bsh/imx8mn_smm_s2/spl.c b/board/bsh/imx8mn_smm_s2/spl.c index 0f61acc630..097b60c055 100644 --- a/board/bsh/imx8mn_smm_s2/spl.c +++ b/board/bsh/imx8mn_smm_s2/spl.c @@ -18,6 +18,9 @@
int spl_board_boot_device(enum boot_device boot_dev_spl) { + if (IS_ENABLED(CONFIG_NAND_MXS) && get_boot_device() != USB_BOOT) + return BOOT_DEVICE_NAND; + return BOOT_DEVICE_BOOTROM; }
--
2.25.1
1090
Age (days ago)
1090
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Trimarchi