diff options
author | Ye Li <ye.li@nxp.com> | 2017-11-28 00:21:08 -0600 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-11-28 23:47:18 -0600 |
commit | 5176bcb214bbb582c990273187fd752552455035 (patch) | |
tree | f978692f68b809063dc3a3d571590c520376e091 | |
parent | b5ac280de59fdec71df972ef93639b4746c7f43e (diff) |
MLK-17011 imx8qm/qxp: Fix wrong boot type for flexspi
The codes use the QSPI when booting from Flexspi, this cause u-boot prints
out unknown device if we boot from Flexspi NOR.
Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r-- | arch/arm/cpu/armv8/imx8/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/imx8/cpu.c b/arch/arm/cpu/armv8/imx8/cpu.c index 213a8ee806..cc2d96eca7 100644 --- a/arch/arm/cpu/armv8/imx8/cpu.c +++ b/arch/arm/cpu/armv8/imx8/cpu.c @@ -623,7 +623,7 @@ enum boot_device get_boot_device(void) boot_dev = NAND_BOOT; break; case SC_R_FSPI_0: - boot_dev = QSPI_BOOT; + boot_dev = FLEXSPI_BOOT; break; case SC_R_SATA_0: boot_dev = SATA_BOOT; |