modules: hal_nxp: disable hal clock driver for SCMI clock
If SCMI clock is used in Zephyr, it will not use hal clock API, so disable hal clock driver and also disable driver clock control in all the other hal drivers. Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
This commit is contained in:
parent
e40d56c622
commit
a4f9cc90d0
2 changed files with 4 additions and 2 deletions
|
@ -98,7 +98,7 @@ zephyr_compile_definitions_ifdef(
|
||||||
)
|
)
|
||||||
|
|
||||||
zephyr_compile_definitions_ifdef(
|
zephyr_compile_definitions_ifdef(
|
||||||
CONFIG_SOC_MIMX9596
|
CONFIG_CLOCK_CONTROL_ARM_SCMI
|
||||||
FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL=1
|
FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,9 @@ endif()
|
||||||
|
|
||||||
set(CONFIG_MCUX_COMPONENT_device.system ON)
|
set(CONFIG_MCUX_COMPONENT_device.system ON)
|
||||||
set(CONFIG_MCUX_COMPONENT_device.CMSIS ON)
|
set(CONFIG_MCUX_COMPONENT_device.CMSIS ON)
|
||||||
set(CONFIG_MCUX_COMPONENT_driver.clock ON)
|
if(NOT CONFIG_CLOCK_CONTROL_ARM_SCMI)
|
||||||
|
set(CONFIG_MCUX_COMPONENT_driver.clock ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Exclude fsl_power.c for DSP domains
|
# Exclude fsl_power.c for DSP domains
|
||||||
if(CONFIG_ARM)
|
if(CONFIG_ARM)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue