mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-04 20:26:13 +02:00
Some extension boards have EEPROM part numbers that do not directly match their devicetree overlay filenames. Introduce a static name_mapping table and a set_cape_overlay() helper that translates the part number and version strings read from the EEPROM into the correct overlay filename. When no entry matches, fall back to the existing behavior of constructing the overlay name as "<part_number>-<version>.dtbo" directly from the EEPROM content. Add an initial entry mapping BB-GREEN-HDMI revision 00A0 to am335x-bone-hdmi-00a0.dtbo. Signed-off-by: Kory Maincent (TI) <kory.maincent@bootlin.com>