board: am65x: Use generic AM6x board detection function
authorGuillaume La Roque (TI.com) <glaroque@baylibre.com>
Mon, 3 Nov 2025 18:40:05 +0000 (19:40 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Nov 2025 22:06:40 +0000 (16:06 -0600)
commit804b80288ac048f3c4403ddbb48f0944a3b5cc7e
tree637bf5baee2fdf26517d2117b009f6b0cb54d467
parentce56e553c31377b9cda7c53e2161c8e02071fc4e
board: am65x: Use generic AM6x board detection function

Replace the board-specific implementation of do_board_detect()
with a call to the generic do_board_detect_am6() function to
avoid code duplication across AM6x family boards.

The generic function provides the same functionality with
additional fallback logic to try alternate EEPROM addresses.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Signed-off-by: Guillaume La Roque (TI.com) <glaroque@baylibre.com>
board/ti/am65x/evm.c