Skip to contentSkip to conversation

board: ti: am64x: Add support for AM64B SK

PATCH In review Vignesh Raghavendra 2 participants 2 messages Apr 6, 2023 – May 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: ti: am64x: Add support for AM64B SK

From: Judith Mendez <[email protected]>

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.

---
 board/ti/am64x/evm.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
board/ti/am64x/evm.c +3 -1
index c88139ac7acc..9aead2bc3345 100644
@@ -20,7 +20,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;
 
Signature · 1 line
2.40.0
#1 lore raw
Quoted 8 lines · Vignesh Raghavendra

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.

[...]

Applied to u-boot/master, thanks!

Signature · 1 line
Tom