]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: freescale: Add QSPI Boot support in spl for i.MX8m
authorMamta Shukla <mamta.shukla@leica-geosystems.com>
Tue, 12 Jul 2022 14:36:20 +0000 (14:36 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 13:35:35 +0000 (15:35 +0200)
Add QSPI Boot option in u-boot-spl for i.MX8m EVK.

Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
Tested-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
board/freescale/imx8mm_evk/spl.c

index 4d963246856f9b9e641eea1ad8489cca3d242a10..e2eb1426c83678a4f588ab87cc9b78957126e99a 100644 (file)
@@ -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;
        }