diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2017-08-21 10:20:53 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-11 23:19:39 +0300 |
commit | c8c04eca30fa0d513885c6c07f3d2137b59ba121 (patch) | |
tree | abb446ed93e6725f3c15da62c454f54b8ee29f93 /board | |
parent | 0f9e6aee9dbcb7fd26f3782c267dffd1de0803ba (diff) | |
download | u-boot-c8c04eca30fa0d513885c6c07f3d2137b59ba121.tar.xz |
board: ti: dra76-evm: Add epprom support
The dra76-evm is a board based on TI's DRA76 processor
Add eeprom support
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/ti/dra7xx/evm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 1c0a1eb052..ee6d5251d5 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -34,6 +34,7 @@ #include "mux_data.h" #include "../common/board_detect.h" +#define board_is_dra76x_evm() board_ti_is("DRA76/7x") #define board_is_dra74x_evm() board_ti_is("5777xCPU") #define board_is_dra72x_evm() board_ti_is("DRA72x-T") #define board_is_dra71x_evm() board_ti_is("DRA79x,D") @@ -547,6 +548,8 @@ int board_late_init(void) name = "dra71x"; else name = "dra72x"; + } else if (is_dra76x()) { + name = "dra76x"; } else { name = "dra7xx"; } @@ -595,6 +598,8 @@ void do_board_detect(void) bname = "DRA72x EVM"; } else if (board_is_dra71x_evm()) { bname = "DRA71x EVM"; + } else if (board_is_dra76x_evm()) { + bname = "DRA76x EVM"; } else { /* If EEPROM is not populated */ if (is_dra72x()) |