board: ti: j721e: Add support for detecting multiple device trees
authorSinthu Raja <sinthu.raja@ti.com>
Wed, 9 Feb 2022 09:36:52 +0000 (15:06 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 16 Feb 2022 19:19:30 +0000 (14:19 -0500)
commitd8004919aa1ff937c33e3a27d29b191609058cf2
tree231c3e5c1c06b3691a0c10ee7528d58834c3e6f2
parentee59fa45c83b513ac5d596ef3a505ac7f50a83c1
board: ti: j721e: 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>
board/ti/j721e/evm.c