diff options
author | Sinthu Raja <sinthu.raja@ti.com> | 2022-02-09 15:06:50 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-16 14:19:30 -0500 |
commit | dfb2429ff48d5e69ac327a8dcce56ccc61f97b37 (patch) | |
tree | dd6212d95db17a04293bdb0b8467110a7cd96ba9 /board/ti/j721e | |
parent | a46c5289b72f549ca037be155a48c2bfde970f58 (diff) | |
download | u-boot-dfb2429ff48d5e69ac327a8dcce56ccc61f97b37.tar.gz |
board: ti: j721e: Add support to update board_name for j721e-sk
Update setup_board_eeprom_env() to choose the right board name
for j721e-sk.
Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Diffstat (limited to 'board/ti/j721e')
-rw-r--r-- | board/ti/j721e/evm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 301afe1966..e184ff0081 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -30,6 +30,9 @@ #define board_is_j721e_som() (board_ti_k3_is("J721EX-PM1-SOM") || \ board_ti_k3_is("J721EX-PM2-SOM")) +#define board_is_j721e_sk() (board_ti_k3_is("J721EX-EAIK") || \ + board_ti_k3_is("J721EX-SK")) + #define board_is_j7200_som() (board_ti_k3_is("J7200X-PM1-SOM") || \ board_ti_k3_is("J7200X-PM2-SOM")) @@ -424,6 +427,8 @@ static void setup_board_eeprom_env(void) if (board_is_j721e_som()) name = "j721e"; + else if (board_is_j721e_sk()) + name = "j721e-sk"; else if (board_is_j7200_som()) name = "j7200"; else |