imx: spl_imx_romapi: support raw NAND sector
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Tue, 20 May 2025 08:54:17 +0000 (10:54 +0200)
committerFabio Estevam <festevam@gmail.com>
Wed, 21 May 2025 10:52:29 +0000 (07:52 -0300)
commit24d98fa63bbcb21988e4e822f11686319502fb1f
tree9ce2051c5fc38a455a6ead36590f2776d424eb3c
parent8acea298bb82c38b20855cd46a46b9e418dc1fb0
imx: spl_imx_romapi: support raw NAND sector

Commit 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") breaks
the boot of the BSH SMM S2 board. As stated in the dropped comment, "Some
boards use this value even though MMC is not enabled in SPL, for example
imx8mn_bsh_smm_s2".

Support load of the U-Boot image from raw NAND sector.

Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
arch/arm/mach-imx/spl_imx_romapi.c