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

Sinthu Raja sinthu.raja at mistralsolutions.com
Sat Jun 26 16:55:51 CEST 2021


From: Amarnath MB <amarnath.mb at ti.com>

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

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

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
-- 
2.31.1



More information about the U-Boot mailing list