diff mbox series

[06/17] board: ti: j721e: Add support to update board_name for j721e-eaik

Message ID 20210626145602.15702-7-sinthu.raja@ti.com
State Changes Requested
Delegated to: Lokesh Vutla
Headers show
Series arm: k3-j721e: Add support for J721E EAIK | expand

Commit Message

Sinthu Raja June 26, 2021, 2:55 p.m. UTC
From: Amarnath MB <amarnath.mb@ti.com>

Update setup_board_eeprom_env() to choose the right board name
for j721e-eaik.

Signed-off-by: Amarnath MB <amarnath.mb@ti.com>
Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
---
 board/ti/j721e/evm.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c
index b618325627..a847b2c607 100644
--- a/board/ti/j721e/evm.c
+++ b/board/ti/j721e/evm.c
@@ -29,6 +29,8 @@ 
 #define board_is_j721e_som()	(board_ti_k3_is("J721EX-PM1-SOM") || \
 				 board_ti_k3_is("J721EX-PM2-SOM"))
 
+#define board_is_j721e_eaik()	 board_ti_k3_is("J721EX-EAIK")
+
 #define board_is_j7200_som()	board_ti_k3_is("J7200X-PM1-SOM")
 
 /* Max number of MAC addresses that are parsed/processed per daughter card */
@@ -186,6 +188,8 @@  static void setup_board_eeprom_env(void)
 
 	if (board_is_j721e_som())
 		name = "j721e";
+	else if (board_is_j721e_eaik())
+		name = "j721e-eaik";
 	else if (board_is_j7200_som())
 		name = "j7200";
 	else