From 7f38988cf15464c4876022cdfc2e70fa1cb1c43d Mon Sep 17 00:00:00 2001 From: Roger Quadros Date: Wed, 5 Jul 2023 12:28:36 +0300 Subject: [PATCH] board: ti: am64x: Recognize AM64-HSEVM AM64-HSEVM is AM64-GPEVM with High Security Device. Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header". Fixes NAND card detection on AM64-HSEVM. Signed-off-by: Roger Quadros --- board/ti/am64x/evm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c index 9aead2bc33..bfdb2a1d90 100644 --- a/board/ti/am64x/evm.c +++ b/board/ti/am64x/evm.c @@ -19,7 +19,8 @@ #include "../common/board_detect.h" -#define board_is_am64x_gpevm() board_ti_k3_is("AM64-GPEVM") +#define board_is_am64x_gpevm() (board_ti_k3_is("AM64-GPEVM") || \ + board_ti_k3_is("AM64-HSEVM")) #define board_is_am64x_skevm() (board_ti_k3_is("AM64-SKEVM") || \ board_ti_k3_is("AM64B-SKEVM"))