diff options
author | Kory Maincent <kory.maincent@bootlin.com> | 2021-05-04 20:31:30 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-05-13 20:09:09 +0300 |
commit | 1569847e7c7b6cba6a04b5f5a5e7aa9caeeef41b (patch) | |
tree | e8b15ca22922539dc4500cc85679c537722ccc38 | |
parent | d705527a89ddbc30766b6ca9fe2eebf715a3ceda (diff) | |
download | u-boot-1569847e7c7b6cba6a04b5f5a5e7aa9caeeef41b.tar.xz |
am335x: add support for cape detect functionality
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>
-rw-r--r-- | arch/arm/mach-omap2/am33xx/Kconfig | 1 | ||||
-rw-r--r-- | board/ti/am335x/board.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig index 9a98e8a0a9..11e54cd293 100644 --- a/arch/arm/mach-omap2/am33xx/Kconfig +++ b/arch/arm/mach-omap2/am33xx/Kconfig @@ -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 diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index c7476b3a8c..5959ff73dc 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -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; |