soc: imxrt: drop the ADC_MCUX_12B1MSPS_SAR overrides

Drop the override conditions to ADC_MCUX_12B1MSPS_SAR for imxrt, the
current one causes the driver to be built when it does not have to and
are not needed anyway, and drop the HAS_MCUX_12B1MSPS_SAR option
entirely as it's not needed anymore.

Tested with:

west build -p -b teensy40 tests/lib/devicetree/api_ext

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2025-02-24 15:41:57 +00:00 committed by Fabio Baltieri
commit e10432afce
3 changed files with 0 additions and 10 deletions

View file

@ -18,11 +18,6 @@ config MCUX_CORE_SUFFIX
String describing the core identifer used by MCUX SDK when using String describing the core identifer used by MCUX SDK when using
dual core parts dual core parts
config HAS_MCUX_12B1MSPS_SAR
bool
help
Set if the 12B1MSPS SAR ADC module is present in the SoC.
config HAS_MCUX_ADC12 config HAS_MCUX_ADC12
bool bool
help help

View file

@ -13,10 +13,6 @@ config ROM_START_OFFSET
default 0x400 if BOOTLOADER_MCUBOOT default 0x400 if BOOTLOADER_MCUBOOT
default 0x2000 if BOOT_FLEXSPI_NOR || BOOT_SEMC_NOR default 0x2000 if BOOT_FLEXSPI_NOR || BOOT_SEMC_NOR
config ADC_MCUX_12B1MSPS_SAR
default y if HAS_MCUX_12B1MSPS_SAR
depends on ADC
config LOG_BACKEND_SWO_FREQ_HZ config LOG_BACKEND_SWO_FREQ_HZ
default 7500000 default 7500000
depends on LOG_BACKEND_SWO depends on LOG_BACKEND_SWO

View file

@ -11,7 +11,6 @@ config SOC_SERIES_IMXRT10XX
select CLOCK_CONTROL select CLOCK_CONTROL
select HAS_MCUX select HAS_MCUX
select HAS_MCUX_CACHE select HAS_MCUX_CACHE
select HAS_MCUX_12B1MSPS_SAR if !SOC_MIMXRT1042
select HAS_MCUX_CCM if !SOC_MIMXRT1042 select HAS_MCUX_CCM if !SOC_MIMXRT1042
select HAS_MCUX_FLEXSPI select HAS_MCUX_FLEXSPI
select HAS_MCUX_IGPIO select HAS_MCUX_IGPIO