aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-07-23 15:55:14 +0200
committerTom Rini <trini@konsulko.com>2018-07-30 07:18:48 -0400
commit08a00cba06a7e608ae65e3d7ea225cf8c639429d (patch)
treea5342e260c5db2fc4cba1d2bc147cefc552d7227 /arch/arm/mach-omap2
parent5ed063d10f647b7cdbd048c8acdf7d030f1a94e6 (diff)
downloadu-boot-08a00cba06a7e608ae65e3d7ea225cf8c639429d.zip
u-boot-08a00cba06a7e608ae65e3d7ea225cf8c639429d.tar.gz
u-boot-08a00cba06a7e608ae65e3d7ea225cf8c639429d.tar.bz2
dm: Change CMD_DM enabling
CMD_DM is used for debug purpose and it shouldn't be enabled by default via Kconfig. Unfortunately this is in the tree for quite a long time that's why solution is to use imply DM for all targets which are enabling DM. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/am33xx/Kconfig18
-rw-r--r--arch/arm/mach-omap2/omap3/Kconfig10
2 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig
index 94d9d86..3529607 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
+ imply CMD_DM
imply SPL_DM
imply SPL_DM_SEQ_ALIAS
imply SPL_ENV_SUPPORT
@@ -67,6 +68,7 @@ config TARGET_AM335X_BALTOS
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_AM335X_IGEP003X
bool "Support am335x_igep003x"
@@ -74,6 +76,7 @@ config TARGET_AM335X_IGEP003X
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_AM335X_SHC
bool "Support am335x based shc board from bosch"
@@ -81,6 +84,7 @@ config TARGET_AM335X_SHC
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
imply CMD_SPL
config TARGET_AM335X_SL50
@@ -89,12 +93,14 @@ config TARGET_AM335X_SL50
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_BAV335X
bool "Support bav335x"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
+ imply CMD_DM
help
The BAV335x OEM Network Processor integrates all the functions of an
embedded network computer in a small, easy to use SODIMM module which
@@ -118,12 +124,14 @@ config TARGET_CHILIBOARD
select BOARD_LATE_INIT
select DM
select DM_SERIAL
+ imply CMD_DM
config TARGET_CM_T335
bool "Support cm_t335"
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_DRACO
bool "Support draco"
@@ -131,6 +139,7 @@ config TARGET_DRACO
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_ETAMIN
bool "Support etamin"
@@ -138,24 +147,28 @@ config TARGET_ETAMIN
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_PCM051
bool "Support pcm051"
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_PENGWYN
bool "Support pengwyn"
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_PEPPER
bool "Support pepper"
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_PXM2
bool "Support pxm2"
@@ -163,6 +176,7 @@ config TARGET_PXM2
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_RASTABAN
bool "Support rastaban"
@@ -170,6 +184,7 @@ config TARGET_RASTABAN
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_RUT
bool "Support rut"
@@ -177,6 +192,7 @@ config TARGET_RUT
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_THUBAN
bool "Support thuban"
@@ -184,11 +200,13 @@ config TARGET_THUBAN
select DM
select DM_GPIO
select DM_SERIAL
+ imply CMD_DM
config TARGET_PDU001
bool "Support PDU001"
select DM
select DM_SERIAL
+ imply CMD_DM
help
Support for PDU001 platform developed by EETS GmbH.
The PDU001 is a processor and display unit developed around
diff --git a/arch/arm/mach-omap2/omap3/Kconfig b/arch/arm/mach-omap2/omap3/Kconfig
index 9e4227d..e0d02fb 100644
--- a/arch/arm/mach-omap2/omap3/Kconfig
+++ b/arch/arm/mach-omap2/omap3/Kconfig
@@ -27,6 +27,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 +41,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 +60,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 +68,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 +78,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 +90,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 +130,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 +153,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 +165,7 @@ config TARGET_SNIPER
select OMAP3_GPIO_4
select OMAP3_GPIO_5
select OMAP3_GPIO_6
+ imply CMD_DM
endchoice