diff options
author | Sébastien Szymanski <sebastien.szymanski@armadeus.com> | 2023-10-04 11:08:10 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2023-10-18 10:02:49 +0200 |
commit | 4655b75335384e040358a2e3e478cc42f32a96c9 (patch) | |
tree | 155fa1ce2087b5b584a693d219c03130fb79f130 /drivers | |
parent | a41c9ddb30913fc581c0395916d127788936763c (diff) | |
download | u-boot-4655b75335384e040358a2e3e478cc42f32a96c9.tar.gz u-boot-4655b75335384e040358a2e3e478cc42f32a96c9.tar.bz2 u-boot-4655b75335384e040358a2e3e478cc42f32a96c9.zip |
dm: adc: imx93-adc depends on ADC (fix boot)
The i.MX93 11x11 EVK fails to boot with following error:
Model: NXP i.MX93 11X11 EVK board
DRAM: 2 GiB
Error binding driver 'imx93-adc': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind
initcall sequence 00000000fffb8f28 failed at call 000000008021e0d4 (err=-96)
### ERROR ### Please RESET the board ###
That's because since commit e7ff54d96303 ("imx93_evk: defconfig: add adc
support") CONFIG_ADC_IMX93 is enabled but CONFIG_ADC is not.
Fix this by enabling CONFIG_ADC in imx93_11x11_evk_defconfig.
Make sure this situation won't happen again in future i.MX93 defconfig by
making CONFIG_ADC_IMX93 depend on CONFIG_ADC.
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/adc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/adc/Kconfig b/drivers/adc/Kconfig index 4336732dee..a01d73846b 100644 --- a/drivers/adc/Kconfig +++ b/drivers/adc/Kconfig @@ -66,6 +66,7 @@ config STM32_ADC config ADC_IMX93 bool "Enable NXP IMX93 ADC driver" + depends on ADC help This enables basic driver for NXP IMX93 ADC. It provides: |