mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
adc: Tighten some adc driver dependencies
A few adc drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -18,7 +18,7 @@ config SPL_ADC
|
||||
|
||||
config ADC_EXYNOS
|
||||
bool "Enable Exynos 54xx ADC driver"
|
||||
depends on ADC
|
||||
depends on ADC && ARCH_EXYNOS5
|
||||
help
|
||||
This enables basic driver for Exynos ADC compatible with Exynos54xx.
|
||||
It provides:
|
||||
@@ -49,7 +49,7 @@ config SARADC_MESON
|
||||
|
||||
config SARADC_ROCKCHIP
|
||||
bool "Enable Rockchip SARADC driver"
|
||||
depends on ADC
|
||||
depends on ADC && ARCH_ROCKCHIP
|
||||
help
|
||||
This enables driver for Rockchip SARADC.
|
||||
It provides:
|
||||
|
||||
Reference in New Issue
Block a user