Merge tag 'efi-2019-04-rc2' of https://github.com/xypron2/u-boot
[oweals/u-boot.git] / arch / arm / mach-omap2 / omap3 / Kconfig
index 9e4227d8266b2a6376223617137403c5e4343397..0286b0daa337fb8de757c4d8fe4c3311d68a0556 100644 (file)
@@ -3,18 +3,23 @@ if OMAP34XX
 # We only enable the clocks for the GPIO banks that a given board requies.
 config OMAP3_GPIO_2
        bool
+       default y if CMD_GPIO
 
 config OMAP3_GPIO_3
        bool
+       default y if CMD_GPIO
 
 config OMAP3_GPIO_4
        bool
+       default y if CMD_GPIO
 
 config OMAP3_GPIO_5
        bool
+       default y if CMD_GPIO
 
 config OMAP3_GPIO_6
        bool
+       default y if CMD_GPIO
 
 choice
        prompt "OMAP3 board select"
@@ -27,6 +32,7 @@ config TARGET_AM3517_EVM
        select DM_I2C
        select DM_MMC
        select DM_SERIAL
+       imply CMD_DM
 
 config TARGET_MT_VENTOUX
        bool "TeeJet Mt.Ventoux"
@@ -40,6 +46,7 @@ config TARGET_OMAP3_BEAGLE
        select DM_SERIAL
        select OMAP3_GPIO_5
        select OMAP3_GPIO_6
+       imply CMD_DM
 
 config TARGET_CM_T35
        bool "CompuLab CM-T3530 and CM-T3730 boards"
@@ -58,6 +65,7 @@ config TARGET_DEVKIT8000
        select DM
        select DM_GPIO
        select DM_SERIAL
+       imply CMD_DM
 
 config TARGET_OMAP3_EVM
        bool "TI OMAP3 EVM"
@@ -65,6 +73,7 @@ config TARGET_OMAP3_EVM
        select DM_GPIO
        select DM_SERIAL
        select OMAP3_GPIO_3
+       imply CMD_DM
 
 config TARGET_OMAP3_IGEP00X0
        bool "IGEP"
@@ -74,6 +83,7 @@ config TARGET_OMAP3_IGEP00X0
        select OMAP3_GPIO_3
        select OMAP3_GPIO_5
        select OMAP3_GPIO_6
+       imply CMD_DM
 
 config TARGET_OMAP3_OVERO
        bool "OMAP35xx Gumstix Overo"
@@ -85,12 +95,14 @@ config TARGET_OMAP3_OVERO
        select OMAP3_GPIO_4
        select OMAP3_GPIO_5
        select OMAP3_GPIO_6
+       imply CMD_DM
 
 config TARGET_OMAP3_ZOOM1
        bool "TI Zoom1"
        select DM
        select DM_GPIO
        select DM_SERIAL
+       imply CMD_DM
 
 config TARGET_AM3517_CRANE
        bool "am3517_crane"
@@ -123,6 +135,7 @@ config TARGET_OMAP3_LOGIC
        select OMAP3_GPIO_3
        select OMAP3_GPIO_4
        select OMAP3_GPIO_6
+       imply CMD_DM
 
 config TARGET_NOKIA_RX51
        bool "Nokia RX51"
@@ -145,6 +158,7 @@ config TARGET_OMAP3_CAIRO
        select DM
        select DM_GPIO
        select DM_SERIAL
+       imply CMD_DM
 
 config TARGET_SNIPER
        bool "LG Optimus Black"
@@ -156,6 +170,7 @@ config TARGET_SNIPER
        select OMAP3_GPIO_4
        select OMAP3_GPIO_5
        select OMAP3_GPIO_6
+       imply CMD_DM
 
 endchoice