soc: nxp: rw: remove DT_NODE_HAS_STATUS_OKAY
We do not have `DT_NODE_HAS_STATUS_OKAY`, change that to `DT_NODE_HAS_STATUS(node_id, okay)` instead Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
a20e962340
commit
cc1894b844
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ static int nxp_rw600_init(void)
|
||||||
#define PMU_RESET_CAUSES \
|
#define PMU_RESET_CAUSES \
|
||||||
COND_CODE_0(IS_EMPTY(PMU_RESET_CAUSES_), (PMU_RESET_CAUSES_), (0))
|
COND_CODE_0(IS_EMPTY(PMU_RESET_CAUSES_), (PMU_RESET_CAUSES_), (0))
|
||||||
#define WDT_RESET \
|
#define WDT_RESET \
|
||||||
COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(wwdt), (kPOWER_ResetSourceWdt), (0))
|
COND_CODE_1(DT_NODE_HAS_STATUS(wwdt, okay), (kPOWER_ResetSourceWdt), (0))
|
||||||
#define RESET_CAUSES \
|
#define RESET_CAUSES \
|
||||||
(PMU_RESET_CAUSES | WDT_RESET)
|
(PMU_RESET_CAUSES | WDT_RESET)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue