arm64: Do not try to bring up the cores disabled in DT node
The macro DT_FOREACH_CHILD will iterates all child nodes ignoring the status property, this patch changes to use DT_FOREACH_CHILD_STATUS_OKAY to avoid trying to bring up disabled cores, which only iterates the enabled child nodes. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
This commit is contained in:
parent
0700a24276
commit
50d263d138
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ volatile struct boot_params __aligned(L1_CACHE_BYTES) arm64_cpu_boot_params = {
|
|||
#define CPU_REG_ID(cpu_node_id) DT_REG_ADDR(cpu_node_id),
|
||||
|
||||
static const uint64_t cpu_node_list[] = {
|
||||
DT_FOREACH_CHILD(DT_PATH(cpus), CPU_REG_ID)
|
||||
DT_FOREACH_CHILD_STATUS_OKAY(DT_PATH(cpus), CPU_REG_ID)
|
||||
};
|
||||
|
||||
/* Called from Zephyr initialization */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue