hwinfo: mcux_sim/mcux_rcm: Add new dependency

Change to use DT_HAS_NXP_SIM_UUID_ENABLED/DT_HAS_NXP_RCM_HWINFO_ENABLED
as the dependency condition for HWINFO_MCUX_SIM/HWINFO_MCUX_RCM to
enable the driver when the nxp,sim-uuid/nxp,rcm-hwinfo compatible
is present in the devicetree.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
This commit is contained in:
Lucien Zhao
2026-01-04 16:47:09 +08:00
committed by Fabio Baltieri
parent eb43ffc6b8
commit 0a6e0160b4
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
config HWINFO_MCUX_RCM
bool "NXP kinetis reset cause"
default y
depends on HAS_MCUX_RCM
depends on DT_HAS_NXP_RCM_HWINFO_ENABLED
select HWINFO_HAS_DRIVER
help
Enable NXP kinetis mcux RCM hwinfo driver.

View File

@@ -4,7 +4,7 @@
config HWINFO_MCUX_SIM
bool "NXP kinetis SIM device ID"
default y
depends on HAS_MCUX_SIM
depends on DT_HAS_NXP_SIM_UUID_ENABLED
select HWINFO_HAS_DRIVER
help
Enable NXP kinetis mcux SIM hwinfo driver.