Re: [U-Boot] [PATCH 01/11] board: ti: dra71x-evm: Add epprom support

2016-11-26 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:24PM +0530, Lokesh Vutla wrote:

> The dra71x-evm is a board based on TI's DRA718 processor targeting 
> BOM-optimized
> entry infotainment systems such as display audio and is a software compatible
> derivative of the highly successful DRA74 and DRA72 processor families.
> More information can be found here[1].
> 
> Add epprom detection for dra71-evm.
> 
> [1] http://www.ti.com/product/dra718
> 
> Signed-off-by: Lokesh Vutla 

Reviewed-by: Tom Rini 

-- 
Tom


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


[U-Boot] [PATCH 01/11] board: ti: dra71x-evm: Add epprom support

2016-11-22 Thread Lokesh Vutla
The dra71x-evm is a board based on TI's DRA718 processor targeting BOM-optimized
entry infotainment systems such as display audio and is a software compatible
derivative of the highly successful DRA74 and DRA72 processor families.
More information can be found here[1].

Add epprom detection for dra71-evm.

[1] http://www.ti.com/product/dra718

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 e0470e9..73d99ae 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -36,6 +36,7 @@
 
 #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")
 #define board_is_dra74x_revh_or_later() (board_is_dra74x_evm() &&  \
(strncmp("H", board_ti_get_rev(), 1) <= 0))
 #define board_is_dra72x_revc_or_later() (board_is_dra72x_evm() &&  \
@@ -469,6 +470,8 @@ int board_late_init(void)
if (is_dra72x()) {
if (board_is_dra72x_revc_or_later())
name = "dra72x-revc";
+   else if (board_is_dra71x_evm())
+   name = "dra71x";
else
name = "dra72x";
} else {
@@ -509,6 +512,8 @@ void do_board_detect(void)
bname = "DRA74x EVM";
} else if (board_is_dra72x_evm()) {
bname = "DRA72x EVM";
+   } else if (board_is_dra71x_evm()) {
+   bname = "DRA71x EVM";
} else {
/* If EEPROM is not populated */
if (is_dra72x())
-- 
2.10.1

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