board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM
authorSinthu Raja <sinthu.raja@ti.com>
Tue, 10 Jan 2023 15:47:54 +0000 (21:17 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jan 2023 17:51:27 +0000 (12:51 -0500)
commit554f8e84b63e90f92d59a91820c81ff0635340dd
treefdfcbed79a7c620b26c5539d6393045d2f516bb9
parentfca27ee8b993bd1a5752fc2156b1e86358fa8041
board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM

Add the board_init_f API for SPL and run the platform-required SoC
initialization.

Add the functionality for board name-based DTB selection from FIT
within SPL. This will make it easier to utilise one defconfig for
both the EVM and the SK.

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/j721s2/evm.c