summaryrefslogtreecommitdiffstats
path: root/include/configs/sama5d27_som1_ek.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/sama5d27_som1_ek.h')
-rw-r--r--include/configs/sama5d27_som1_ek.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sama5d27_som1_ek.h b/include/configs/sama5d27_som1_ek.h
index 90846c4bfd..7898f4d277 100644
--- a/include/configs/sama5d27_som1_ek.h
+++ b/include/configs/sama5d27_som1_ek.h
@@ -62,7 +62,7 @@
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
#endif
-#ifdef CONFIG_QSPI_BOOT
+#if defined(CONFIG_QSPI_BOOT) && defined(CONFIG_SPL_SPI_LOAD)
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x10000
#endif