summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUdit Kumar <u-kumar1@ti.com>2023-10-07 22:24:20 +0530
committerUdit Kumar <u-kumar1@ti.com>2023-10-08 23:28:04 +0530
commitceeac830057c10ac7df1b2f7443843a430fa9be1 (patch)
tree15ea61d5225532d19378b7e4f1addaf9870b16b6
parent1eaf714ce2218f53338cadae1cd59f9dc306d645 (diff)
board: ti: j784s4: Correct J784S4 board name
As per data sheet of J784S4[0], name of board is J784S4X instead of J784S4. Fixes: 80f078723786 ("board: ti: j784s4: Add support for board detection by EEPROM read") [0]: https://www.ti.com/lit/pdf/spruj62<F2> Section 3.8 Identification EEPROM, Table 3-6. Board ID Information B_NAME Field Cc: Apurva Nandan <a-nandan@ti.com> Signed-off-by: Udit Kumar <u-kumar1@ti.com>
-rw-r--r--board/ti/j784s4/evm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ti/j784s4/evm.c b/board/ti/j784s4/evm.c
index 48e4d70aea..5fcef7c39d 100644
--- a/board/ti/j784s4/evm.c
+++ b/board/ti/j784s4/evm.c
@@ -133,7 +133,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)
/*
* Functions specific to EVM and SK designs of J784S4/AM69 family.
*/
-#define board_is_j784s4_evm() board_ti_k3_is("J784S4-EVM")
+#define board_is_j784s4_evm() board_ti_k3_is("J784S4X-EVM")
#define board_is_am69_sk() board_ti_k3_is("AM69-SK")
@@ -181,7 +181,7 @@ static void setup_board_eeprom_env(void)
if (board_is_am69_sk())
name = "am69-sk";
- else
+ else if (!board_is_j784s4_evm())
printf("Unidentified board claims %s in eeprom header\n",
board_ti_get_name());