]> git.baikalelectronics.ru Git - uboot.git/commit
ti/common: add support for extension_scan_board function
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 4 May 2021 17:31:24 +0000 (19:31 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 May 2021 17:09:09 +0000 (13:09 -0400)
commit67ee440b13fb5fe008c2d2cbc579bdcfca3521e4
treebdd3f91b79648ac44f9ee04f9a7bed41da124365
parent6e8c4bb5b76fd4c271fd8f997170143eb1a84a94
ti/common: add support for extension_scan_board function

The BeagleBone platforms all use a common mechanism to discover and
identify extension boards (called "capes"): each extension board has an
I2C-connected EEPROM describing itself.

This patch implements a generic extension_scan_board() feature that can
be used by all BeagleBone platforms to read those I2C EEPROMs and fill
in the list of "extension" structures.

Following commits will enable this common logic on two BeagleBone
platforms.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
board/ti/common/Kconfig
board/ti/common/Makefile
board/ti/common/cape_detect.c [new file with mode: 0644]
board/ti/common/cape_detect.h [new file with mode: 0644]