]> git.baikalelectronics.ru Git - uboot.git/commit
board: ti: j721s2: Add support for detecting multiple device trees
authorSinthu Raja <sinthu.raja@ti.com>
Tue, 10 Jan 2023 15:47:52 +0000 (21:17 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jan 2023 17:51:26 +0000 (12:51 -0500)
commite409b2283858960e07b8752a18498ff8ad2c62ac
tree05fa6ce9bd3a29d29b3f074854d35f430c1c2a8d
parentde42fa46b84730c9c74a912bab07888099c85697
board: ti: j721s2: Add support for detecting multiple device trees

Update the board_fit_config_name_match() to choose the right dtb
based on the board name read from EEPROM.

Also restrict multpile EEPROM reads by verifying if EEPROM is already
read

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