Skip to content

Commit d47b473

Browse files
JiafeiPannashif
authored andcommitted
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>
1 parent a4f9cc9 commit d47b473

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

modules/hal_nxp/mcux/mcux-sdk-ng/device/device.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ if(NOT CONFIG_CLOCK_CONTROL_ARM_SCMI)
4343
endif()
4444

4545
# Exclude fsl_power.c for DSP domains
46-
if(CONFIG_ARM)
46+
if((CONFIG_ARM) AND (NOT CONFIG_CLOCK_CONTROL_ARM_SCMI))
4747
set(CONFIG_MCUX_COMPONENT_driver.power ON)
4848
endif()
4949

50-
set(CONFIG_MCUX_COMPONENT_driver.reset ON)
51-
set(CONFIG_MCUX_COMPONENT_driver.memory ON)
50+
if(NOT CONFIG_CPU_CORTEX_A)
51+
set(CONFIG_MCUX_COMPONENT_driver.reset ON)
52+
set(CONFIG_MCUX_COMPONENT_driver.memory ON)
53+
endif()
5254

5355
# Include fsl_dsp.c for ARM domains (applicable to i.MX RTxxx devices)
5456
if(CONFIG_ARM)

0 commit comments

Comments
 (0)