From 6e741cfa9392ffe3fe87d7657ea9f828bfec4abc Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Wed, 19 Aug 2020 10:44:17 +0200 Subject: cmd: Kconfig: Change dependency for CMD_ADC CMD_ADC selected DM_REGULATOR unconditionally without enabling DM. That's why change select to depends on to cover it. Kconfig is showing this issue as: WARNING: unmet direct dependencies detected for REGMAP Depends on [n]: DM [=n] Selected by [y]: - DM_REGULATOR_PBIAS [=y] && DM_REGULATOR [=y] Signed-off-by: Michal Simek Reviewed-by: Tom Rini [trini: Update CMD_ADC=y configs to enable DM_REGULATOR now] Signed-off-by: Tom Rini --- cmd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/Kconfig b/cmd/Kconfig index 30c26b5d2bc..0761dbb7460 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -860,7 +860,7 @@ config CMD_ARMFLASH config CMD_ADC bool "adc - Access Analog to Digital Converters info and data" select ADC - select DM_REGULATOR + depends on DM_REGULATOR help Shows ADC device info and permit printing one-shot analog converted data from a named Analog to Digital Converter. -- cgit v1.3.1 From 0b2b9b85d0d6d69b7b6ce7c6f4e2db91f0d43759 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 24 Aug 2020 13:17:00 +0200 Subject: cmd: mem: Remove already removed CONFIG_SYS_MEMTEST_SCRATCH The commit e519f03a1846 ("cmd: mem: Remove CONFIG_SYS_MEMTEST_SCRATCH mapping") removed CONFIG_SYS_MEMTEST_SCRATCH but commit 091401131085 ("command: Remove the cmd_tbl_t typedef") has added it back. That's why symbol is still in the tree that's why remove it again. Fixes: 091401131085 ("command: Remove the cmd_tbl_t typedef Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- cmd/mem.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd') diff --git a/cmd/mem.c b/cmd/mem.c index 190e2b94a7d..9df5eb068a7 100644 --- a/cmd/mem.c +++ b/cmd/mem.c @@ -30,10 +30,6 @@ DECLARE_GLOBAL_DATA_PTR; -#ifndef CONFIG_SYS_MEMTEST_SCRATCH -#define CONFIG_SYS_MEMTEST_SCRATCH 0 -#endif - /* Create a compile-time value */ #ifdef MEM_SUPPORT_64BIT_DATA #define SUPPORT_64BIT_DATA 1 -- cgit v1.3.1