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>
diff --git a/arch/arm/mach-rmobile/Kconfig.32 b/arch/arm/mach-rmobile/Kconfig.32
index 308f9de..bdca9bb 100644
--- a/arch/arm/mach-rmobile/Kconfig.32
+++ b/arch/arm/mach-rmobile/Kconfig.32
@@ -46,6 +46,7 @@
select DM
select DM_SERIAL
select USE_TINY_PRINTF
+ imply CMD_DM
config TARGET_GOSE
bool "Gose board"
@@ -54,6 +55,7 @@
select SPL_TINY_MEMSET
select SUPPORT_SPL
select USE_TINY_PRINTF
+ imply CMD_DM
config TARGET_KOELSCH
bool "Koelsch board"
@@ -62,6 +64,7 @@
select SPL_TINY_MEMSET
select SUPPORT_SPL
select USE_TINY_PRINTF
+ imply CMD_DM
config TARGET_LAGER
bool "Lager board"
@@ -70,6 +73,7 @@
select SPL_TINY_MEMSET
select SUPPORT_SPL
select USE_TINY_PRINTF
+ imply CMD_DM
config TARGET_KZM9G
bool "KZM9D board"
@@ -81,6 +85,7 @@
select SPL_TINY_MEMSET
select SUPPORT_SPL
select USE_TINY_PRINTF
+ imply CMD_DM
config TARGET_SILK
bool "Silk board"
@@ -89,6 +94,7 @@
select SPL_TINY_MEMSET
select SUPPORT_SPL
select USE_TINY_PRINTF
+ imply CMD_DM
config TARGET_PORTER
bool "Porter board"
@@ -97,6 +103,7 @@
select SPL_TINY_MEMSET
select SUPPORT_SPL
select USE_TINY_PRINTF
+ imply CMD_DM
config TARGET_STOUT
bool "Stout board"
@@ -105,6 +112,7 @@
select SPL_TINY_MEMSET
select SUPPORT_SPL
select USE_TINY_PRINTF
+ imply CMD_DM
endchoice