]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: Change CMD_DM enabling
authorMichal Simek <michal.simek@xilinx.com>
Mon, 23 Jul 2018 13:55:14 +0000 (15:55 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 30 Jul 2018 11:18:48 +0000 (07:18 -0400)
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>
15 files changed:
arch/Kconfig
arch/arm/Kconfig
arch/arm/mach-at91/Kconfig
arch/arm/mach-imx/mx5/Kconfig
arch/arm/mach-imx/mx6/Kconfig
arch/arm/mach-imx/mx7/Kconfig
arch/arm/mach-meson/Kconfig
arch/arm/mach-omap2/am33xx/Kconfig
arch/arm/mach-omap2/omap3/Kconfig
arch/arm/mach-rmobile/Kconfig.32
arch/arm/mach-tegra/Kconfig
arch/microblaze/Kconfig
arch/mips/Kconfig
arch/powerpc/cpu/mpc83xx/Kconfig
cmd/Kconfig

index 7967fa50ac22d556461103ae6a60cfc6826bef44..bf1b4a9afac61d6c6d2ab2e54ceb28ae4406114a 100644 (file)
@@ -50,6 +50,7 @@ config NIOS2
        select DM
        select OF_CONTROL
        select SUPPORT_OF_CONTROL
+       imply CMD_DM
 
 config PPC
        bool "PowerPC architecture"
@@ -77,6 +78,7 @@ config SANDBOX
        select LZO
        select SPI
        select SUPPORT_OF_CONTROL
+       imply CMD_DM
        imply CMD_GETTIME
        imply CMD_HASH
        imply CMD_IO
@@ -107,6 +109,7 @@ config X86
        select USE_PRIVATE_LIBGCC
        select X86_TSC_TIMER
        imply BLK
+       imply CMD_DM
        imply CMD_FPGA_LOADMK
        imply CMD_GETTIME
        imply CMD_IO
index b29e8f75d23f8c14db19bb3d12579585c9469a67..a047552ed322c3a33c4433725b67992cdf016fe3 100644 (file)
@@ -441,6 +441,7 @@ config ARCH_MVEBU
        select OF_CONTROL
        select OF_SEPARATE
        select SPI
+       imply CMD_DM
 
 config TARGET_DEVKIT3250
        bool "Support devkit3250"
@@ -499,6 +500,7 @@ config TARGET_STV0991
        select PL01X_SERIAL
        select SPI
        select SPI_FLASH
+       imply CMD_DM
 
 config TARGET_X600
        bool "Support x600"
@@ -533,6 +535,7 @@ config ARCH_BCM283X
        select OF_CONTROL
        select PL01X_SERIAL
        select SERIAL_SEARCH_ALL
+       imply CMD_DM
        imply FAT_WRITE
 
 config TARGET_VEXPRESS_CA15_TC2
@@ -548,6 +551,7 @@ config ARCH_BCMSTB
        select DM
        select OF_CONTROL
        select OF_PRIOR_STAGE
+       imply CMD_DM
        help
          This enables support for Broadcom ARM-based set-top box
          chipsets, including the 7445 family of chips.
@@ -607,6 +611,7 @@ config ARCH_EXYNOS
        select DM_SPI
        select DM_SPI_FLASH
        select SPI
+       imply CMD_DM
        imply FAT_WRITE
 
 config ARCH_S5PC1XX
@@ -616,6 +621,7 @@ config ARCH_S5PC1XX
        select DM_GPIO
        select DM_I2C
        select DM_SERIAL
+       imply CMD_DM
 
 config ARCH_HIGHBANK
        bool "Calxeda Highbank"
@@ -627,6 +633,7 @@ config ARCH_INTEGRATOR
        select DM
        select DM_SERIAL
        select PL01X_SERIAL
+       imply CMD_DM
 
 config ARCH_KEYSTONE
        bool "TI Keystone"
@@ -660,6 +667,7 @@ config ARCH_MX8M
        select ARM64
        select DM
        select SUPPORT_SPL
+       imply CMD_DM
 
 config ARCH_MX23
        bool "NXP i.MX23 family"
@@ -724,6 +732,7 @@ config ARCH_OWL
        select DM
        select DM_SERIAL
        select OF_CONTROL
+       imply CMD_DM
 
 config ARCH_QEMU
        bool "QEMU Virtual Platform"
@@ -731,12 +740,14 @@ config ARCH_QEMU
        select DM_SERIAL
        select OF_CONTROL
        select PL01X_SERIAL
+       imply CMD_DM
 
 config ARCH_RMOBILE
        bool "Renesas ARM SoCs"
        select BOARD_EARLY_INIT_F
        select DM
        select DM_SERIAL
+       imply CMD_DM
        imply FAT_WRITE
        imply SYS_THUMB_BUILD
 
@@ -756,6 +767,7 @@ config ARCH_SNAPDRAGON
        select OF_SEPARATE
        select SMEM
        select SPMI
+       imply CMD_DM
 
 config ARCH_SOCFPGA
        bool "Altera SOCFPGA family"
@@ -784,6 +796,7 @@ config ARCH_SOCFPGA
        select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
        select SYS_NS16550
        select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
+       imply CMD_DM
        imply CMD_MTDPARTS
        imply CRC32_VERIFY
        imply DM_SPI
@@ -816,6 +829,7 @@ config ARCH_SUNXI
        select USB_KEYBOARD if DISTRO_DEFAULTS
        select USB_STORAGE if DISTRO_DEFAULTS
        select USE_TINY_PRINTF
+       imply CMD_DM
        imply CMD_GPT
        imply DISTRO_DEFAULTS
        imply FAT_WRITE
@@ -861,6 +875,7 @@ config ARCH_ZYNQ
        select SUPPORT_SPL
        imply ARCH_EARLY_INIT_R
        imply CMD_CLK
+       imply CMD_DM
        imply CMD_SPL
        imply FAT_WRITE
 
@@ -871,6 +886,7 @@ config ARCH_ZYNQMP_R5
        select DM
        select DM_SERIAL
        select OF_CONTROL
+       imply CMD_DM
 
 config ARCH_ZYNQMP
        bool "Xilinx ZynqMP based platform"
@@ -884,6 +900,7 @@ config ARCH_ZYNQMP
        select SPL_BOARD_INIT if SPL
        select SPL_CLK if SPL
        select SUPPORT_SPL
+       imply CMD_DM
        imply FAT_WRITE
 
 config TEGRA
@@ -1010,6 +1027,7 @@ config TARGET_HIKEY
        select OF_CONTROL
        select PL01X_SERIAL
        select SPECIFY_CONSOLE_INDEX
+       imply CMD_DM
          help
          Support for HiKey 96boards platform. It features a HI6220
          SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
@@ -1022,6 +1040,7 @@ config TARGET_POPLAR
        select DM_USB
        select OF_CONTROL
        select PL01X_SERIAL
+       imply CMD_DM
          help
          Support for Poplar 96boards EE platform. It features a HI3798cv200
          SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
@@ -1234,6 +1253,7 @@ config ARCH_UNIPHIER
        select SPL_OF_CONTROL if SPL
        select SPL_PINCTRL if SPL
        select SUPPORT_SPL
+       imply CMD_DM
        imply DISTRO_DEFAULTS
        imply FAT_WRITE
        help
@@ -1246,6 +1266,7 @@ config STM32
        select DM
        select DM_SERIAL
        select SYS_THUMB_BUILD
+       imply CMD_DM
 
 config ARCH_STI
        bool "Support STMicrolectronics SoCs"
@@ -1255,6 +1276,7 @@ config ARCH_STI
        select DM_MMC
        select DM_RESET
        select DM_SERIAL
+       imply CMD_DM
        help
          Support for STMicroelectronics STiH407/10 SoC family.
          This SoC is used on Linaro 96Board STiH410-B2260
@@ -1277,6 +1299,7 @@ config ARCH_STM32MP
        select SYSCON
        select SYSRESET
        select SYS_THUMB_BUILD
+       imply CMD_DM
        help
          Support for STM32MP SoC family developed by STMicroelectronics,
          MPUs based on ARM cortex A core
@@ -1304,6 +1327,7 @@ config ARCH_ROCKCHIP
        select SYS_MALLOC_F
        select SYS_THUMB_BUILD if !ARM64
        imply ADC
+       imply CMD_DM
        imply DISTRO_DEFAULTS
        imply FAT_WRITE
        imply SARADC_ROCKCHIP
@@ -1323,6 +1347,7 @@ config ARCH_ASPEED
        bool "Support Aspeed SoCs"
        select DM
        select OF_CONTROL
+       imply CMD_DM
 
 endchoice
 
index 1a56957cf9d145f94c3e6e850e4a0e7e07b8e14a..69856c89428591850641646e1192d202effbb882 100644 (file)
@@ -78,6 +78,7 @@ config TARGET_SNAPPER9260
        select DM
        select DM_GPIO
        select DM_SERIAL
+       imply CMD_DM
 
 config TARGET_GURNARD
        bool "Support gurnard"
@@ -89,6 +90,7 @@ config TARGET_GURNARD
        select DM_SERIAL
        select DM_SPI
        select SPI
+       imply CMD_DM
 
 config TARGET_AT91SAM9261EK
        bool "Atmel at91sam9261 reference board"
@@ -209,6 +211,7 @@ config TARGET_CORVUS
        select DM_GPIO
        select DM_SERIAL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_TAURUS
        bool "Support taurus"
@@ -220,6 +223,7 @@ config TARGET_TAURUS
        select DM_SPI
        select SPI
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_SMARTWEB
        bool "Support smartweb"
@@ -229,6 +233,7 @@ config TARGET_SMARTWEB
        select DM_GPIO
        select DM_SERIAL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_VINCO
        bool "Support VINCO"
@@ -237,6 +242,7 @@ config TARGET_VINCO
        select SAMA5D4
        select SPI
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_WB45N
        bool "Support Laird WB45N"
index 1bb373bf2d1ca2e3d3e60a546e1ac3e31310a10b..051b15dbff1ce1715d112cd3325c001209b438bc 100644 (file)
@@ -28,6 +28,7 @@ config TARGET_KP_IMX53
        select DM_PMIC
        select DM_SERIAL
        select MX53
+       imply CMD_DM
 
 config TARGET_MX51EVK
        bool "Support mx51evk"
@@ -44,6 +45,7 @@ config TARGET_MX53CX9020
        select DM
        select DM_SERIAL
        select MX53
+       imply CMD_DM
 
 config TARGET_MX53EVK
        bool "Support mx53evk"
index 2ae4fb31863174aead6e92b1f20d46a42c73b10f..a2799c436ef896b4b440929ec9a88cb06d6a3c7b 100644 (file)
@@ -64,6 +64,7 @@ config MX6UL_LITESOM
        select DM_THERMAL
        select MX6UL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config MX6UL_OPOS6UL
        bool
@@ -78,6 +79,7 @@ config MX6UL_OPOS6UL
        select SPL_PINCTRL if SPL
        select SPL_SEPARATE_BSS if SPL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config MX6ULL
        bool
@@ -110,6 +112,7 @@ config TARGET_APALIS_IMX6
        select DM_SERIAL
        select DM_THERMAL
        select SUPPORT_SPL
+       imply CMD_DM
        imply CMD_SATA
 
 config TARGET_ARISTAINETOS
@@ -130,6 +133,7 @@ config TARGET_CGTQMX6EVAL
        select DM_THERMAL
        select MX6QDL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_CM_FX6
        bool "CM-FX6"
@@ -139,6 +143,7 @@ config TARGET_CM_FX6
        select DM_SERIAL
        select MX6QDL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_COLIBRI_IMX6
        bool "Toradex Colibri iMX6 board"
@@ -147,6 +152,7 @@ config TARGET_COLIBRI_IMX6
        select DM_SERIAL
        select DM_THERMAL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_COLIBRI_IMX6ULL
        bool "Toradex Colibri iMX6ULL"
@@ -163,6 +169,7 @@ config TARGET_DHCOMIMX6
        select DM_THERMAL
        select MX6QDL
        select SUPPORT_SPL
+       imply CMD_DM
        imply CMD_SPL
 
 config TARGET_DISPLAY5
@@ -170,6 +177,7 @@ config TARGET_DISPLAY5
        select DM
        select DM_SERIAL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_EMBESTMX6BOARDS
        bool "embestmx6boards"
@@ -216,6 +224,7 @@ config TARGET_MX6LOGICPD
        select DM_MMC
        select DM_PMIC
        select OF_CONTROL
+       imply CMD_DM
 
 config TARGET_MX6MEMCAL
        bool "mx6memcal"
@@ -258,6 +267,7 @@ config TARGET_MX6DL_MAMOJ
        select SPL_USB_SDP_SUPPORT if SPL
        select SPL_WATCHDOG_SUPPORT if SPL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_MX6Q_ENGICAM
        bool "Support Engicam i.Core(RQS)"
@@ -276,6 +286,7 @@ config TARGET_MX6Q_ENGICAM
        select SPL_PINCTRL if SPL
        select SPL_SEPARATE_BSS if SPL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_MX6SABREAUTO
        bool "mx6sabreauto"
@@ -285,6 +296,7 @@ config TARGET_MX6SABREAUTO
        select DM_THERMAL
        select MX6QDL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_MX6SABRESD
        bool "mx6sabresd"
@@ -294,6 +306,7 @@ config TARGET_MX6SABRESD
        select DM_THERMAL
        select MX6QDL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_MX6SLEVK
        bool "mx6slevk"
@@ -306,6 +319,7 @@ config TARGET_MX6SLLEVK
        select DM
        select DM_THERMAL
        select MX6SLL
+       imply CMD_DM
 
 config TARGET_MX6SXSABRESD
        bool "mx6sxsabresd"
@@ -323,6 +337,7 @@ config TARGET_MX6SXSABREAUTO
        select DM
        select DM_THERMAL
        select MX6SX
+       imply CMD_DM
 
 config TARGET_MX6UL_9X9_EVK
        bool "mx6ul_9x9_evk"
@@ -331,6 +346,7 @@ config TARGET_MX6UL_9X9_EVK
        select DM_THERMAL
        select MX6UL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_MX6UL_14X14_EVK
        bool "mx6ul_14x14_evk"
@@ -339,6 +355,7 @@ config TARGET_MX6UL_14X14_EVK
        select DM_THERMAL
        select MX6UL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_MX6UL_ENGICAM
        bool "Support Engicam GEAM6UL/Is.IoT"
@@ -356,6 +373,7 @@ config TARGET_MX6UL_ENGICAM
        select SPL_PINCTRL if SPL
        select SPL_SEPARATE_BSS if SPL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_MX6ULL_14X14_EVK
        bool "Support mx6ull_14x14_evk"
@@ -363,6 +381,7 @@ config TARGET_MX6ULL_14X14_EVK
        select DM
        select DM_THERMAL
        select MX6ULL
+       imply CMD_DM
 
 config TARGET_NITROGEN6X
        bool "nitrogen6x"
@@ -429,6 +448,7 @@ config TARGET_KP_IMX6Q_TPC
        select DM_THERMAL
        select MX6QDL
        select SUPPORT_SPL
+       imply CMD_DM
        imply CMD_SPL
 
 config TARGET_TQMA6
@@ -448,6 +468,7 @@ config TARGET_UDOO_NEO
        select DM_THERMAL
        select MX6SX
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_SAMTEC_VINING_2000
        bool "samtec VIN|ING 2000"
@@ -455,6 +476,7 @@ config TARGET_SAMTEC_VINING_2000
        select DM
        select DM_THERMAL
        select MX6SX
+       imply CMD_DM
 
 config TARGET_WANDBOARD
        bool "wandboard"
@@ -474,6 +496,7 @@ config TARGET_XPRESS
        select DM_THERMAL
        select MX6UL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_ZC5202
        bool "zc5202"
@@ -481,6 +504,7 @@ config TARGET_ZC5202
        select DM
        select DM_THERMAL
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_ZC5601
        bool "zc5601"
@@ -488,6 +512,7 @@ config TARGET_ZC5601
        select DM
        select DM_THERMAL
        select SUPPORT_SPL
+       imply CMD_DM
 
 endchoice
 
index 60783ab78a4a4d27e4d23f00bc66c53e4f16b9c4..1acd7f3c7cb7afb0bddc183a5fe2cde596c02620 100644 (file)
@@ -26,6 +26,7 @@ config TARGET_CL_SOM_IMX7
        select DM_THERMAL
        select MX7D
        select SUPPORT_SPL
+       imply CMD_DM
 
 config TARGET_MX7DSABRESD
        bool "mx7dsabresd"
@@ -33,6 +34,7 @@ config TARGET_MX7DSABRESD
        select DM
        select DM_THERMAL
        select MX7D
+       imply CMD_DM
 
 config TARGET_PICO_IMX7D
        bool "pico-imx7d"
@@ -48,12 +50,15 @@ config TARGET_WARP7
        select DM
        select DM_THERMAL
        select MX7D
+       imply CMD_DM
+       imply CMD_DM
 
 config TARGET_COLIBRI_IMX7
        bool "Support Colibri iMX7S/iMX7D modules"
        select DM
        select DM_SERIAL
        select DM_THERMAL
+       imply CMD_DM
 
 endchoice
 
index 76622567907b76b1c8c226381d977b83b2c8fd7b..ee8b1cdcf67495577c4021c9ff7327e95c484457 100644 (file)
@@ -6,6 +6,7 @@ config MESON_GXBB
        select CLK
        select DM
        select DM_SERIAL
+       imply CMD_DM
        help
          The Amlogic Meson GXBaby (S905) is an ARM SoC with a
          quad-core Cortex-A53 CPU and a Mali-450 GPU.
@@ -16,6 +17,7 @@ config MESON_GXL
        select CLK
        select DM
        select DM_SERIAL
+       imply CMD_DM
        help
          The Amlogic Meson GXL (S905X and S905D) is an ARM SoC with a
          quad-core Cortex-A53 CPU and a Mali-450 GPU.
index 94d9d868f89345eaf333d5b9782f3128b87d119d..3529607479d2b2d9ad18feb007c85d72873a1057 100644 (file)
@@ -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
index 9e4227d8266b2a6376223617137403c5e4343397..e0d02fb4e59a0448104ae03eb24a61af56d5636e 100644 (file)
@@ -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
 
index 308f9de4c440b408607755f8a0be8bb23692080b..bdca9bb9052c055a67d2b2fa6dc5b868abe18db5 100644 (file)
@@ -46,6 +46,7 @@ config TARGET_BLANCHE
        select DM
        select DM_SERIAL
        select USE_TINY_PRINTF
+       imply CMD_DM
 
 config TARGET_GOSE
        bool "Gose board"
@@ -54,6 +55,7 @@ config TARGET_GOSE
        select SPL_TINY_MEMSET
        select SUPPORT_SPL
        select USE_TINY_PRINTF
+       imply CMD_DM
 
 config TARGET_KOELSCH
        bool "Koelsch board"
@@ -62,6 +64,7 @@ config TARGET_KOELSCH
        select SPL_TINY_MEMSET
        select SUPPORT_SPL
        select USE_TINY_PRINTF
+       imply CMD_DM
 
 config TARGET_LAGER
        bool "Lager board"
@@ -70,6 +73,7 @@ config TARGET_LAGER
        select SPL_TINY_MEMSET
        select SUPPORT_SPL
        select USE_TINY_PRINTF
+       imply CMD_DM
 
 config TARGET_KZM9G
        bool "KZM9D board"
@@ -81,6 +85,7 @@ config TARGET_ALT
        select SPL_TINY_MEMSET
        select SUPPORT_SPL
        select USE_TINY_PRINTF
+       imply CMD_DM
 
 config TARGET_SILK
        bool "Silk board"
@@ -89,6 +94,7 @@ config TARGET_SILK
        select SPL_TINY_MEMSET
        select SUPPORT_SPL
        select USE_TINY_PRINTF
+       imply CMD_DM
 
 config TARGET_PORTER
        bool "Porter board"
@@ -97,6 +103,7 @@ config TARGET_PORTER
        select SPL_TINY_MEMSET
        select SUPPORT_SPL
        select USE_TINY_PRINTF
+       imply CMD_DM
 
 config TARGET_STOUT
        bool "Stout board"
@@ -105,6 +112,7 @@ config TARGET_STOUT
        select SPL_TINY_MEMSET
        select SUPPORT_SPL
        select USE_TINY_PRINTF
+       imply CMD_DM
 
 endchoice
 
index cd03705b64c0fa78b2baca6b5e738b379c00ec23..86b1cd11f752c4573a381419c71bb098ec50ff26 100644 (file)
@@ -40,6 +40,7 @@ config TEGRA_COMMON
        select OF_CONTROL
        select SPI
        select VIDCONSOLE_AS_LCD if DM_VIDEO
+       imply CMD_DM
        imply CRC32_VERIFY
 
 config TEGRA_NO_BPMP
index 1df1ecf72d19de7d0d3b907635a714ea82b5bed3..5cc68d63c4f79c8b7008dae9094f9f95041ef4c7 100644 (file)
@@ -16,6 +16,7 @@ config TARGET_MICROBLAZE_GENERIC
        select OF_CONTROL
        select SUPPORT_SPL
        select SYSRESET
+       imply CMD_DM
 
 endchoice
 
index 315d89dbeb3fa24bce987e904bea8333a40d46f8..31b622ff5108a7d4547761a45c69a5745cf67205 100644 (file)
@@ -42,6 +42,7 @@ config TARGET_MALTA
        select SUPPORTS_CPU_MIPS64_R6
        select SUPPORTS_LITTLE_ENDIAN
        select SWAP_IO_SPACE
+       imply CMD_DM
 
 config TARGET_VCT
        bool "Support vct"
@@ -74,6 +75,7 @@ config ARCH_ATH79
        bool "Support QCA/Atheros ath79"
        select DM
        select OF_CONTROL
+       imply CMD_DM
 
 config ARCH_BMIPS
        bool "Support BMIPS SoCs"
@@ -83,11 +85,13 @@ config ARCH_BMIPS
        select OF_CONTROL
        select RAM
        select SYSRESET
+       imply CMD_DM
 
 config MACH_PIC32
        bool "Support Microchip PIC32"
        select DM
        select OF_CONTROL
+       imply CMD_DM
 
 config TARGET_BOSTON
        bool "Support Boston"
@@ -107,6 +111,7 @@ config TARGET_BOSTON
        select SUPPORTS_CPU_MIPS64_R2
        select SUPPORTS_CPU_MIPS64_R6
        select SUPPORTS_LITTLE_ENDIAN
+       imply CMD_DM
 
 config TARGET_XILFPGA
        bool "Support Imagination Xilfpga"
@@ -120,6 +125,7 @@ config TARGET_XILFPGA
        select SUPPORTS_CPU_MIPS32_R1
        select SUPPORTS_CPU_MIPS32_R2
        select SUPPORTS_LITTLE_ENDIAN
+       imply CMD_DM
        help
          This supports IMGTEC MIPSfpga platform
 
index 385a7a6e21720c4651bfcf42ae02e5ade4102af5..571cf8fc2ef8b2ace3bbefcd2cea92d8776688ea 100644 (file)
@@ -64,6 +64,7 @@ config TARGET_MPC837XERDB
 config TARGET_IDS8313
        bool "Support ids8313"
        select DM
+       imply CMD_DM
 
 config TARGET_KM8360
        bool "Support km8360"
index a6014705ddadfa297a3bb6dba7a198df17c6c7c5..6a471020f84414193a6674fdfd19c991a659a726 100644 (file)
@@ -640,7 +640,6 @@ config CMD_DFU
 config CMD_DM
        bool "dm - Access to driver model information"
        depends on DM
-       default y
        help
          Provides access to driver model data structures and information,
          such as a list of devices, list of uclasses and the state of each