From d4e84f24a6815957b3a218166f214ca9a1c4a7de Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Thu, 17 May 2018 15:15:59 +0800 Subject: imx8m: add QSPI boot dev When boot type could not be detected from rom sw info, read sbmr1 to detect, here we only use it to detect FLEXSPI boot, because ROM not update it in rom sw info. Signed-off-by: Peng Fan --- arch/arm/mach-imx/spl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/mach-imx/spl.c') diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index aa2686bb92..2d15f62445 100644 --- a/arch/arm/mach-imx/spl.c +++ b/arch/arm/mach-imx/spl.c @@ -172,6 +172,8 @@ u32 spl_boot_device(void) return BOOT_DEVICE_NAND; case SPI_NOR_BOOT: return BOOT_DEVICE_SPI; + case QSPI_BOOT: + return BOOT_DEVICE_NOR; case USB_BOOT: return BOOT_DEVICE_USB; default: -- cgit v1.2.3