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:
parent
a4f9cc90d0
commit
d47b473b85
1 changed files with 5 additions and 3 deletions
|
@ -43,12 +43,14 @@ if(NOT CONFIG_CLOCK_CONTROL_ARM_SCMI)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Exclude fsl_power.c for DSP domains
|
# 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)
|
set(CONFIG_MCUX_COMPONENT_driver.power ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CONFIG_MCUX_COMPONENT_driver.reset ON)
|
if(NOT CONFIG_CPU_CORTEX_A)
|
||||||
set(CONFIG_MCUX_COMPONENT_driver.memory ON)
|
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)
|
# Include fsl_dsp.c for ARM domains (applicable to i.MX RTxxx devices)
|
||||||
if(CONFIG_ARM)
|
if(CONFIG_ARM)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue