summaryrefslogtreecommitdiff
path: root/include/configs/rk3128_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/rk3128_common.h')
-rw-r--r--include/configs/rk3128_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/rk3128_common.h b/include/configs/rk3128_common.h
index 9ba516f35d8..dbc7011a6be 100644
--- a/include/configs/rk3128_common.h
+++ b/include/configs/rk3128_common.h
@@ -26,7 +26,9 @@
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */
/* RAW SD card / eMMC locations. */
+#ifdef CONFIG_SPL_SPI_LOAD
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000
+#endif
#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
#define CONFIG_SYS_SDRAM_BASE 0x60000000