board: am64x: Use generic AM6x board detection functions
authorGuillaume La Roque (TI.com) <glaroque@baylibre.com>
Mon, 3 Nov 2025 18:40:04 +0000 (19:40 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Nov 2025 22:06:40 +0000 (16:06 -0600)
commitce56e553c31377b9cda7c53e2161c8e02071fc4e
tree54dab7ae356866046284479e6a3617dee4c7bf2d
parentff1b83c095c2b96b6092099180d9a563702ee256
board: am64x: Use generic AM6x board detection functions

Replace the board-specific implementation of do_board_detect() and
setup_serial() with calls to the generic do_board_detect_am6() and
setup_serial_am6() functions.

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/am64x/evm.c