summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2017-08-21 12:51:01 +0530
committerTom Rini <trini@konsulko.com>2017-09-11 16:22:30 -0400
commitfede94298049fe243eaed08a10db67fe9bcb17a2 (patch)
tree4bc7ab9c951346a1f7bfa60f9ddaad9c5aba61c6 /board
parentb63b995b1691c0448fb14bcf23341651c1f0679c (diff)
downloadu-boot-fede94298049fe243eaed08a10db67fe9bcb17a2.tar.gz
u-boot-fede94298049fe243eaed08a10db67fe9bcb17a2.tar.xz
u-boot-fede94298049fe243eaed08a10db67fe9bcb17a2.zip
board: ti: dra76: Add dt support
Add support for selecting proper dtb for dra76x u-boot from FIT. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r--board/ti/dra7xx/evm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 87b7403070..bd871fa749 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -1115,7 +1115,9 @@ int board_fit_config_name_match(const char *name)
} else if (!strcmp(name, "dra72-evm")) {
return 0;
}
- } else if (!is_dra72x() && !strcmp(name, "dra7-evm")) {
+ } else if (is_dra76x() && !strcmp(name, "dra76-evm")) {
+ return 0;
+ } else if (!is_dra72x() && !is_dra76x() && !strcmp(name, "dra7-evm")) {
return 0;
}