Add QSPI Boot option in u-boot-spl for i.MX8m EVK.

Signed-off-by: Mamta Shukla <mamta.shu...@leica-geosystems.com>
Signed-off-by: Thomas Haemmerle <thomas.haemme...@leica-geosystems.com>
---
 board/freescale/imx8mm_evk/spl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c
index 7eeec6c485..4a2526718b 100644
--- a/board/freescale/imx8mm_evk/spl.c
+++ b/board/freescale/imx8mm_evk/spl.c
@@ -39,6 +39,8 @@ int spl_board_boot_device(enum boot_device boot_dev_spl)
        case SD3_BOOT:
        case MMC3_BOOT:
                return BOOT_DEVICE_MMC2;
+       case QSPI_BOOT:
+               return BOOT_DEVICE_NOR;
        default:
                return BOOT_DEVICE_NONE;
        }
-- 
2.25.1

Reply via email to