summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGuillaume La Roque (TI.com) <[email protected]>2025-11-03 19:40:03 +0100
committerTom Rini <[email protected]>2025-11-07 16:06:40 -0600
commitff1b83c095c2b96b6092099180d9a563702ee256 (patch)
tree2551621bcdc8f05eb2e5bcfbdf2aca8d82e4f451 /arch
parent46684bb0369879413015c93c61998ff2986e0617 (diff)
board: am62x: Add support for reading eeprom data
I2C EEPROM data contains the board name and its revision. Add support for: - Reading EEPROM data and store a copy at end of SRAM - Updating env variable with relevant board info - Printing board info during boot Use the generic do_board_detect_am6() and setup_serial_am6() functions to avoid code duplication across AM6x family boards. Reviewed-by: Mattijs Korpershoek <[email protected]> Signed-off-by: Guillaume La Roque (TI.com) <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-k3/am62x/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/am62x/Kconfig b/arch/arm/mach-k3/am62x/Kconfig
index 81199ada3a1..f7ad52db7d8 100644
--- a/arch/arm/mach-k3/am62x/Kconfig
+++ b/arch/arm/mach-k3/am62x/Kconfig
@@ -14,6 +14,8 @@ config TARGET_AM625_A53_EVM
select ARM64
select BINMAN
select OF_SYSTEM_SETUP
+ imply TI_COMMON_CMD_OPTIONS
+ imply TI_I2C_BOARD_DETECT
config TARGET_AM625_R5_EVM
bool "TI K3 based AM625 EVM running on R5"
@@ -25,6 +27,7 @@ config TARGET_AM625_R5_EVM
select K3_DDRSS
select BINMAN
imply SYS_K3_SPL_ATF
+ imply TI_I2C_BOARD_DETECT
config TARGET_PHYCORE_AM62X_A53
bool "PHYTEC phyCORE-AM62x running on A53"