am57xx: add support for cape detect functionality
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 4 May 2021 17:31:25 +0000 (19:31 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 May 2021 17:09:09 +0000 (13:09 -0400)
This commit enables using the extension board detection mechanism on
AM57xx based platforms.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
arch/arm/mach-omap2/omap5/Kconfig
board/ti/am57xx/board.c

index a7132da..4c2f990 100644 (file)
@@ -36,6 +36,7 @@ config TARGET_AM57XX_EVM
        select CMD_DDR3
        select DRA7XX
        select TI_I2C_BOARD_DETECT
+       select SUPPORT_EXTENSION_SCAN
        imply DM_THERMAL
        imply SCSI
        imply SPL_THERMAL
index 73063fa..05c26c7 100644 (file)
@@ -43,6 +43,7 @@
 #include <hang.h>
 
 #include "../common/board_detect.h"
+#include "../common/cape_detect.h"
 #include "mux_data.h"
 
 #ifdef CONFIG_SUPPORT_EMMC_BOOT