aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ti814x_evm.h
diff options
context:
space:
mode:
authorHannes Schmelzer <hannes.schmelzer@br-automation.com>2019-08-22 15:41:43 +0200
committerTom Rini <trini@konsulko.com>2019-08-25 20:58:59 -0400
commitabf9e5d0f2cd123951dfae0d5605b54394721b97 (patch)
tree332edbf6090df7eca89597c155e2bf3af7bcb9f9 /include/configs/ti814x_evm.h
parent015287919fb8243c6a539fdc70638c1bf4ca6cc7 (diff)
downloadu-boot-abf9e5d0f2cd123951dfae0d5605b54394721b97.zip
u-boot-abf9e5d0f2cd123951dfae0d5605b54394721b97.tar.gz
u-boot-abf9e5d0f2cd123951dfae0d5605b54394721b97.tar.bz2
moveconfig: prepare moving CONFIG_SYS_SPI_U_BOOT_OFFS to Kconfig step 2
some boards have common headers for several individual build-targets where CONFIG_SYS_SPI_U_BOOT_OFFS is defined even it is not needed (only needed if CONFIG_SPL_SPI_LOAD is defined also). Take this define here under '#ifdef CONFIG_SPL_SPI_LOAD' for having a clean run of moveconfig.py Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Diffstat (limited to 'include/configs/ti814x_evm.h')
-rw-r--r--include/configs/ti814x_evm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ti814x_evm.h b/include/configs/ti814x_evm.h
index b3f4fc5..364bac0 100644
--- a/include/configs/ti814x_evm.h
+++ b/include/configs/ti814x_evm.h
@@ -129,7 +129,9 @@
#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
+#ifdef CONFIG_SPL_SPI_LOAD
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000
+#endif
#define CONFIG_SYS_SPI_U_BOOT_SIZE 0x40000
/*