]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: stm32mp15: enable ADC
authorFabrice Gasnier <fabrice.gasnier@st.com>
Tue, 24 Jul 2018 14:31:32 +0000 (16:31 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Aug 2018 23:53:28 +0000 (19:53 -0400)
Enable ADC on stm32mp15.
- CONFIG_CMD_ADC
- CONFIG_STM32_ADC

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/stm32mp15_basic_defconfig

index c72a440dff1dcccb13b7fcc76eeeb6e12495d7e1..7a9a83e3aec57e75465bb3099def1f661ab0c6ac 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_SYS_PROMPT="STM32MP> "
 # CONFIG_CMD_EXPORTENV is not set
 # CONFIG_CMD_IMPORTENV is not set
 CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_ADC=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPT=y
@@ -27,6 +28,7 @@ CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_EXT4_WRITE=y
 # CONFIG_SPL_DOS_PARTITION is not set
+CONFIG_STM32_ADC=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_DM_MMC=y