]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: am64x: Add support for AM64B SK
authorJudith Mendez <jm@ti.com>
Thu, 6 Apr 2023 06:19:01 +0000 (11:49 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2023 13:27:20 +0000 (09:27 -0400)
The AM64x SR2.0 SK board uses "AM64B-SKEVM" as the EEPROM identifier.
This board is similar to the AM64x SKEVM except that it has a new
PMIC that will be enabled in the future and consequently could use a
different device tree file in the future.

For now we treat the board same as an AM64x SK.

Signed-off-by: Judith Mendez <jm@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
board/ti/am64x/evm.c

index b63792e8888cb97e780d7291c35cbc4646edc6a3..96f4e3013a3ef85083efaede708603ede183de9d 100644 (file)
@@ -19,7 +19,9 @@
 #include "../common/board_detect.h"
 
 #define board_is_am64x_gpevm() board_ti_k3_is("AM64-GPEVM")
-#define board_is_am64x_skevm() board_ti_k3_is("AM64-SKEVM")
+
+#define board_is_am64x_skevm() (board_ti_k3_is("AM64-SKEVM") || \
+                               board_ti_k3_is("AM64B-SKEVM"))
 
 DECLARE_GLOBAL_DATA_PTR;