summaryrefslogtreecommitdiff
path: root/include/configs/k2g_evm.h
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2017-06-02 12:24:01 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-03 21:55:18 (GMT)
commit391b037ee6f50d29a8eb5a2953dcf3021cae9155 (patch)
treebe27c41e3db31c3e9831969205f470b5d3982e9a /include/configs/k2g_evm.h
parentae8733910b4f7388ebb965c8f31cfb47e5c19f21 (diff)
downloadu-boot-391b037ee6f50d29a8eb5a2953dcf3021cae9155.tar.xz
configs: k2g_evm: make sure config fallbacks take effect
Since config fallbacks contained in include/config_fallbacks.h come into k2g_evm.h file through ti_armv7_keystone2.h, it should be the last file included. Without this, #define of FAT_WRITE when environment is in FAT does not happen as the environment location is decided later in the file. Similar issues can come with other config fallbacks implemented. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'include/configs/k2g_evm.h')
-rw-r--r--include/configs/k2g_evm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index 9a07eac..1cc3576 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -48,8 +48,6 @@
"get_pmmc_${boot} run_pmmc get_mon_${boot} run_mon " \
"get_fdt_${boot} get_kern_${boot} run_kern"
-#include <configs/ti_armv7_keystone2.h>
-
/* SPL SPI Loader Configuration */
#define CONFIG_SPL_TEXT_BASE 0x0c080000
@@ -80,4 +78,7 @@
#endif
#define SPI_MTD_PARTS KEYSTONE_SPI1_MTD_PARTS
+
+#include <configs/ti_armv7_keystone2.h>
+
#endif /* __CONFIG_K2G_EVM_H */