]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
board: ti: dra76-evm: Add epprom support
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 21 Aug 2017 07:20:53 +0000 (12:50 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 11 Sep 2017 20:19:39 +0000 (16:19 -0400)
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>
board/ti/dra7xx/evm.c

index 1c0a1eb05216f862e9125cf702160a9fb08f48a1..ee6d5251d5c84c780608ea65bcee4df7518fe70d 100644 (file)
@@ -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())