summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/xload.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/xload.c')
-rw-r--r--arch/arm/mach-imx/xload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/xload.c b/arch/arm/mach-imx/xload.c
index 16d56ab288..921e9ade20 100644
--- a/arch/arm/mach-imx/xload.c
+++ b/arch/arm/mach-imx/xload.c
@@ -24,7 +24,7 @@ static __noreturn int imx_xload(void)
pr_info("booting from MMC\n");
buf = bootstrap_read_disk("disk0.0", "fat");
break;
- case BOOTSOURCE_SPI:
+ case BOOTSOURCE_SPI_NOR:
pr_info("booting from SPI\n");
buf = bootstrap_read_devfs("dataflash0", false,
SZ_256K, SZ_1M, SZ_1M);