public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/4] board: ti: am62x: Add EEPROM support and refactor board detection
@ 2025-10-24 14:17 Guillaume La Roque (TI.com)
  2025-10-24 14:17 ` [PATCH v2 1/4] board: ti: common: Add generic AM6x board detection functions Guillaume La Roque (TI.com)
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Guillaume La Roque (TI.com) @ 2025-10-24 14:17 UTC (permalink / raw)
  To: u-boot, Anshul Dalal, Bryan Brattlof
  Cc: Tom Rini, Garrett Giordano, Wadim Egorov, Neha Malcom Francis,
	Mattijs Korpershoek, Ilias Apalodimas, Santhosh Kumar K,
	Jonathan Humphreys, Sam Protsenko, Devarsh Thakkar,
	Prasanth Babu Mantena, Judith Mendez, Marek Vasut, Dhruva Gole,
	Andrew Davis, Vignesh Raghavendra, Neil Armstrong, Aashvij Shenai,
	Peng Fan, Guillaume La Roque (TI.com)

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@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@baylibre.com>


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-10-31  8:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-24 14:17 [PATCH v2 0/4] board: ti: am62x: Add EEPROM support and refactor board detection Guillaume La Roque (TI.com)
2025-10-24 14:17 ` [PATCH v2 1/4] board: ti: common: Add generic AM6x board detection functions Guillaume La Roque (TI.com)
2025-10-27 16:10   ` Mattijs Korpershoek
2025-10-24 14:17 ` [PATCH v2 2/4] board: am62x: Add support for reading eeprom data Guillaume La Roque (TI.com)
2025-10-27 16:13   ` Mattijs Korpershoek
2025-10-27 18:08   ` Andrew Davis
2025-10-31  8:22     ` Guillaume La Roque
2025-10-24 14:17 ` [PATCH v2 3/4] board: am64x: Use generic AM6x board detection functions Guillaume La Roque (TI.com)
2025-10-27 16:15   ` Mattijs Korpershoek
2025-10-24 14:17 ` [PATCH v2 4/4] board: am65x: Use generic AM6x board detection function Guillaume La Roque (TI.com)
2025-10-27 16:18   ` Mattijs Korpershoek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox