]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am335x: add support for cape detect functionality
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 4 May 2021 17:31:30 +0000 (19:31 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 May 2021 17:09:09 +0000 (13:09 -0400)
Update the Kconfig and the board file to make the am335x board compatible
with cape detection.

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

index 9a98e8a0a9bd04ba009112744989e5e763954b26..11e54cd2935ade64616b9257356fdaa2276fd825 100644 (file)
@@ -34,6 +34,7 @@ config TARGET_AM335X_EVM
        select DM_GPIO
        select DM_SERIAL
        select TI_I2C_BOARD_DETECT
+       select SUPPORT_EXTENSION_SCAN
        imply CMD_DM
        imply SPL_DM
        imply SPL_DM_SEQ_ALIAS
index c7476b3a8cf062d09b4b094fe3f3bfa81ce207de..5959ff73dc45460e5cad5fdb547122beee683fb9 100644 (file)
@@ -44,6 +44,7 @@
 #include <env_internal.h>
 #include <watchdog.h>
 #include "../common/board_detect.h"
+#include "../common/cape_detect.h"
 #include "board.h"
 
 DECLARE_GLOBAL_DATA_PTR;