summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-08-19 10:44:17 +0200
committerTom Rini <trini@konsulko.com>2020-08-27 11:26:39 -0400
commit6e741cfa9392ffe3fe87d7657ea9f828bfec4abc (patch)
tree2b15dab4f333037b054543a474a268e70582b4ff /cmd
parenta261fdce381639b93b0efed5d5202c60d92f0e37 (diff)
downloadu-boot-6e741cfa9392ffe3fe87d7657ea9f828bfec4abc.tar.gz
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 <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Update CMD_ADC=y configs to enable DM_REGULATOR now] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 30c26b5d2b..0761dbb746 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.