summaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2016-09-27 13:01:41 +0530
committerTom Rini <trini@konsulko.com>2016-10-08 09:33:35 -0400
commite8131386dc38b5ea6e67df5532b90f3597f8f628 (patch)
treed6ab075158275cba2e6ae0713f2141527d5cb5e5 /board/ti
parent692fcdd800e1987e69294e11f8cf570771c528c5 (diff)
ARM: dts: dra72: add rev C evm support
Add DTS support for dra72 evm Rev C which has the following changes * Two ethernet ports now instead of the single one in rev B. * DP83867 ethernet phy instead of DP838865. Cc: Vignesh R <vigneshr@ti.com> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/dra7xx/evm.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 99e82542f7..588918f4d6 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -828,12 +828,18 @@ int ft_board_setup(void *blob, bd_t *bd)
#ifdef CONFIG_SPL_LOAD_FIT
int board_fit_config_name_match(const char *name)
{
- if (is_dra72x() && !strcmp(name, "dra72-evm"))
- return 0;
- else if (!is_dra72x() && !strcmp(name, "dra7-evm"))
+ if (is_dra72x()) {
+ if (board_is_dra72x_revc_or_later()) {
+ if (!strcmp(name, "dra72-evm-revc"))
+ return 0;
+ } else if (!strcmp(name, "dra72-evm")) {
+ return 0;
+ }
+ } else if (!is_dra72x() && !strcmp(name, "dra7-evm")) {
return 0;
- else
- return -1;
+ }
+
+ return -1;
}
#endif