diff options
author | Peng Fan <peng.fan@nxp.com> | 2018-05-17 15:15:59 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-05-23 04:15:58 -0700 |
commit | 8324d0f37a3dc8c2516dad439aa6b91d77eebcbc (patch) | |
tree | 63a79e3daf440e49b3926c57f6853f6a89fc6bd6 /arch/arm/mach-imx/spl.c | |
parent | 288c8eedb0e187985d33debd701c88f58abb1083 (diff) |
MLK-18333-2 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 <peng.fan@nxp.com>
(cherry picked from commit 3735aedbf6dbebfac830089618ca334c419f43bd)
Diffstat (limited to 'arch/arm/mach-imx/spl.c')
-rw-r--r-- | arch/arm/mach-imx/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 6d91113c74..48cf96a5af 100644 --- a/arch/arm/mach-imx/spl.c +++ b/arch/arm/mach-imx/spl.c @@ -133,6 +133,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: |