Re: [U-Boot] [PATCH 05/12] board: ti: dra76-evm: Add epprom support

2017-08-14 Thread Tom Rini
On Sat, Aug 12, 2017 at 11:59:26AM +0530, Lokesh Vutla wrote:

> The dra76-evm is a board based on TI's DRA76 processor
> Add eeprom support
> 
> Signed-off-by: Lokesh Vutla 

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 05/12] board: ti: dra76-evm: Add epprom support

2017-08-12 Thread Lokesh Vutla
The dra76-evm is a board based on TI's DRA76 processor
Add eeprom support

Signed-off-by: Lokesh Vutla 
---
 board/ti/dra7xx/evm.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index ba3b477a6f..08d96c369d 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())
-- 
2.13.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot