diff --git a/drivers/hwinfo/hwinfo_mcux_rcm.c b/drivers/hwinfo/hwinfo_mcux_rcm.c index e7dfcd6c338..ed8122ac73b 100644 --- a/drivers/hwinfo/hwinfo_mcux_rcm.c +++ b/drivers/hwinfo/hwinfo_mcux_rcm.c @@ -120,12 +120,9 @@ int z_impl_hwinfo_clear_reset_cause(void) #if (defined(FSL_FEATURE_RCM_HAS_PARAM) && FSL_FEATURE_RCM_HAS_PARAM) int z_impl_hwinfo_get_supported_reset_cause(uint32_t *supported) { - uint32_t sources; + *supported = hwinfo_mcux_rcm_xlate_reset_sources(UINT32_MAX); - sources = RCM_GetResetSourceImplementedStatus(RCM); - *supported = hwinfo_mcux_rcm_xlate_reset_sources(sources); - - LOG_DBG("sources = 0x%08x, supported = 0x%08x", sources, *supported); + LOG_DBG("supported = 0x%08x", *supported); return 0; }