modules: hal_nxp: disable drivers not used by imx943 a55

Disable power, memory and reset driver which are not used by i.MX 943 A55.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
This commit is contained in:
Jiafei Pan 2025-05-08 17:16:32 +08:00 committed by Anas Nashif
commit d47b473b85

View file

@ -43,12 +43,14 @@ if(NOT CONFIG_CLOCK_CONTROL_ARM_SCMI)
endif()
# Exclude fsl_power.c for DSP domains
if(CONFIG_ARM)
if((CONFIG_ARM) AND (NOT CONFIG_CLOCK_CONTROL_ARM_SCMI))
set(CONFIG_MCUX_COMPONENT_driver.power ON)
endif()
set(CONFIG_MCUX_COMPONENT_driver.reset ON)
set(CONFIG_MCUX_COMPONENT_driver.memory ON)
if(NOT CONFIG_CPU_CORTEX_A)
set(CONFIG_MCUX_COMPONENT_driver.reset ON)
set(CONFIG_MCUX_COMPONENT_driver.memory ON)
endif()
# Include fsl_dsp.c for ARM domains (applicable to i.MX RTxxx devices)
if(CONFIG_ARM)