From 2d35318b4eb77dbb6ebe98c5b407659b285ae62f Mon Sep 17 00:00:00 2001 From: Nitin Yadav Date: Fri, 25 Aug 2023 15:07:01 +0530 Subject: board: ti: am62x: Add support to identify device name Add macro to enable support of board name of AM62x SIP SKEVM at bootloader. Signed-off-by: Nitin Yadav --- board/ti/am62x/evm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board/ti/am62x') diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c index bee00a7a9e..82cd47bd6d 100644 --- a/board/ti/am62x/evm.c +++ b/board/ti/am62x/evm.c @@ -45,6 +45,7 @@ static struct gpio_desc board_det_gpios[AM62X_LPSK_BRD_DET_COUNT]; #define board_is_am62x_skevm() (board_ti_k3_is("AM62-SKEVM") || \ board_ti_k3_is("AM62B-SKEVM")) #define board_is_am62x_lp_skevm() board_ti_k3_is("AM62-LP-SKEVM") +#define board_is_am62x_sip_skevm() board_ti_k3_is("AM62-SIP-SKEVM") #define board_is_am62x_play() board_ti_k3_is("BEAGLEPLAY-A0-") #if CONFIG_IS_ENABLED(SPLASH_SCREEN) @@ -255,6 +256,8 @@ static void setup_board_eeprom_env(void) name = "am62x_skevm"; else if (board_is_am62x_lp_skevm()) name = "am62x_lp_skevm"; + else if (board_is_am62x_sip_skevm()) + name = "am62x_sip_skevm"; else if (board_is_am62x_play()) name = "am62x_beagleplay"; else -- cgit v1.2.3