diff mbox series

board: ti: am64x: Add support for AM64B SK

Message ID 20230406061901.2564234-1-vigneshr@ti.com
State Accepted
Commit 8774e45e890bb1119eb3133648090f31922d68ac
Delegated to: Tom Rini
Headers show
Series board: ti: am64x: Add support for AM64B SK | expand

Commit Message

Raghavendra, Vignesh April 6, 2023, 6:19 a.m. UTC
From: Judith Mendez <jm@ti.com>

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 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Tom Rini May 8, 2023, 5:38 p.m. UTC | #1
On Thu, 06 Apr 2023 11:49:01 +0530, Vignesh Raghavendra wrote:

> 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!
diff mbox series

Patch

diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c
index c88139ac7acc..9aead2bc3345 100644
--- a/board/ti/am64x/evm.c
+++ b/board/ti/am64x/evm.c
@@ -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;