]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: j721e: Add support to update board_name for j721e-sk
authorSinthu Raja <sinthu.raja@ti.com>
Wed, 9 Feb 2022 09:36:50 +0000 (15:06 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 16 Feb 2022 19:19:30 +0000 (14:19 -0500)
Update setup_board_eeprom_env() to choose the right board name
for j721e-sk.

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
board/ti/j721e/evm.c

index 301afe1966d94f331f17a4322d2f983b5f4af234..e184ff0081b70cfc58f769ba853290615c969d2e 100644 (file)
@@ -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