arch: arm64: core: smp: use DT_FOREACH_CHILD_STATUS_OKAY_SEP
Avoid auxiliary macros by using DT_FOREACH_CHILD_STATUS_OKAY_SEP. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
40542638fd
commit
5954ea1c65
|
@ -44,10 +44,8 @@ volatile struct boot_params __aligned(L1_CACHE_BYTES) arm64_cpu_boot_params = {
|
|||
.mpid = -1,
|
||||
};
|
||||
|
||||
#define CPU_REG_ID(cpu_node_id) DT_REG_ADDR(cpu_node_id),
|
||||
|
||||
static const uint64_t cpu_node_list[] = {
|
||||
DT_FOREACH_CHILD_STATUS_OKAY(DT_PATH(cpus), CPU_REG_ID)
|
||||
DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_PATH(cpus), DT_REG_ADDR, (,))
|
||||
};
|
||||
static uint16_t target_list_mask;
|
||||
|
||||
|
|
Loading…
Reference in a new issue