summaryrefslogtreecommitdiffstats
path: root/include/configs/rk3399_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/rk3399_common.h')
-rw-r--r--include/configs/rk3399_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 355850e640..06d35a01fd 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -38,7 +38,9 @@
#define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ 200000000
/* RAW SD card / eMMC locations. */
+#ifdef CONFIG_SPL_SPI_LOAD
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000
+#endif
/* FAT sd card locations. */
#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1