summaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2020-08-05 22:44:25 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2020-08-11 20:34:46 +0530
commit2cf09d7bedb07aadd0e5d474f2090a8fdd4896de (patch)
treec95610a55a9b8e4b27be0e049188745303d7ef45 /board/ti
parentcf1d6867f7747388000a52124e736b451af8e66a (diff)
board: ti: j7200: Add board detection support for j7200
Add board detection support for j7200 common processor board. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Reviewed-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/j721e/evm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c
index ae508316ef..e035cf9884 100644
--- a/board/ti/j721e/evm.c
+++ b/board/ti/j721e/evm.c
@@ -28,6 +28,8 @@
#define board_is_j721e_som() (board_ti_k3_is("J721EX-PM1-SOM") || \
board_ti_k3_is("J721EX-PM2-SOM"))
+#define board_is_j7200_som() board_ti_k3_is("J7200X-PM1-SOM")
+
/* Max number of MAC addresses that are parsed/processed per daughter card */
#define DAUGHTER_CARD_NO_OF_MAC_ADDR 8
@@ -139,6 +141,8 @@ static void setup_board_eeprom_env(void)
if (board_is_j721e_som())
name = "j721e";
+ else if (board_is_j7200_som())
+ name = "j7200";
else
printf("Unidentified board claims %s in eeprom header\n",
board_ti_get_name());