[PATCH v2 0/4] board: ti: am62x: Add EEPROM support and refactor board detection

Guillaume La Roque (TI.com) glaroque at baylibre.com
Fri Oct 24 16:17:11 CEST 2025


This series adds EEPROM board detection support for AM62x and refactors
the board detection code across AM6x family boards to eliminate code
duplication.

The series introduces two new generic functions for AM6x boards:
- do_board_detect_am6(): Reads the on-board EEPROM with fallback logic
  to alternate I2C addresses
- setup_serial_am6(): Sets up the serial number environment variable
  from EEPROM data

Signed-off-by: Guillaume La Roque (TI.com) <glaroque at baylibre.com>
---
Changes in v2:
- Create Generic function 
- migrate am64 and am65 on it
- Link to v1: https://lore.kernel.org/r/20251017-am62xeeprom-v1-1-31f83124189f@baylibre.com

---
Guillaume La Roque (TI.com) (4):
      board: ti: common: Add generic AM6x board detection functions
      board: am62x: Add support for reading eeprom data
      board: am64x: Use generic AM6x board detection functions
      board: am65x: Use generic AM6x board detection function

 arch/arm/mach-k3/am62x/Kconfig |  3 +++
 board/ti/am62x/evm.c           | 54 +++++++++++++++++++++++++++++++++++++++++-
 board/ti/am64x/evm.c           | 45 +++--------------------------------
 board/ti/am65x/evm.c           | 17 ++-----------
 board/ti/common/board_detect.c | 43 +++++++++++++++++++++++++++++++++
 board/ti/common/board_detect.h | 22 +++++++++++++++++
 configs/am62x_evm_r5_defconfig |  1 +
 7 files changed, 127 insertions(+), 58 deletions(-)
---
base-commit: 6a56d10fdcf1309d2070b62dc15e80a047da971b
change-id: 20251016-am62xeeprom-41a1920b8bd2

Best regards,
-- 
Guillaume La Roque (TI.com) <glaroque at baylibre.com>



More information about the U-Boot mailing list