summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-06-29 14:50:41 +0530
committerTom Rini <trini@konsulko.com>2016-07-01 17:42:57 -0400
commitdf6b506f16d2666ebac5b9d61b67bb6bbfaea6de (patch)
tree1e8f8c8e4280aeeb0d8ee014420496296893dd5a /board
parent4632739202ae4d1f67c5591551598be0a80d501d (diff)
downloadu-boot-imx-df6b506f16d2666ebac5b9d61b67bb6bbfaea6de.zip
u-boot-imx-df6b506f16d2666ebac5b9d61b67bb6bbfaea6de.tar.gz
u-boot-imx-df6b506f16d2666ebac5b9d61b67bb6bbfaea6de.tar.bz2
ti_omap5_common: Find right dtb file for DRA72-RevC Evm
DRA72-Evm revC uses dra72-evm-revc.dtb. Update the same in env vatiables. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/ti/dra7xx/evm.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 0394e4e..6a4d027 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -413,10 +413,14 @@ int board_late_init(void)
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
char *name = "unknown";
- if (is_dra72x())
- name = "dra72x";
- else
+ if (is_dra72x()) {
+ if (board_is_dra72x_revc_or_later())
+ name = "dra72x-revc";
+ else
+ name = "dra72x";
+ } else {
name = "dra7xx";
+ }
set_board_info_env(name);