aboutsummaryrefslogtreecommitdiffstats
path: root/include/configs/ti_omap5_common.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2014-07-14 19:57:58 +0530
committerTom Rini <trini@ti.com>2014-07-14 11:16:38 -0400
commit4ec3f6e5104034e113f6ea8ab356f78ff4ad00b8 (patch)
tree2075824e2fe1919b223407f549a79cfc69f2be8b /include/configs/ti_omap5_common.h
parent75e6cd2799f0d6bf994a1154107cb950b232aa59 (diff)
downloadu-boot-midas-4ec3f6e5104034e113f6ea8ab356f78ff4ad00b8.tar.gz
u-boot-midas-4ec3f6e5104034e113f6ea8ab356f78ff4ad00b8.tar.bz2
u-boot-midas-4ec3f6e5104034e113f6ea8ab356f78ff4ad00b8.zip
ARM: DRA7xx: Update the board_name env variable
Update the board_name env variable and accordingly populate the dtb file. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/configs/ti_omap5_common.h')
-rw-r--r--include/configs/ti_omap5_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index a582fa4041..cb928ab8e6 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -67,6 +67,7 @@
#define PARTS_DEFAULT
#endif
+#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
#define CONFIG_EXTRA_ENV_SETTINGS \
DEFAULT_LINUX_BOOT_ENV \
"console=" CONSOLEDEV ",115200n8\0" \
@@ -116,6 +117,8 @@
"setenv fdtfile omap5-uevm.dtb; fi; " \
"if test $board_name = dra7xx; then " \
"setenv fdtfile dra7-evm.dtb; fi;" \
+ "if test $board_name = dra72x; then " \
+ "setenv fdtfile dra72-evm.dtb; fi;" \
"if test $fdtfile = undefined; then " \
"echo WARNING: Could not determine device tree to use; fi; \0" \
"loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};\0" \