diff options
author | Simon Glass <sjg@chromium.org> | 2022-09-06 20:27:17 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-29 16:11:31 -0400 |
commit | 8909066199281b86bf4ee7673ec6d7983dd12a26 (patch) | |
tree | 8e2b25f62f29ad0e2a9252b41ce1e916b4ecac8d /arch/riscv/lib | |
parent | 52ad21aa2cc55f53da19436f457a8590abf0d125 (diff) | |
download | u-boot-8909066199281b86bf4ee7673ec6d7983dd12a26.zip u-boot-8909066199281b86bf4ee7673ec6d7983dd12a26.tar.gz u-boot-8909066199281b86bf4ee7673ec6d7983dd12a26.tar.bz2 |
dm: core: Drop ofnode_is_available()
This function is also available as ofnode_is_enabled(), so use that
instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/riscv/lib')
-rw-r--r-- | arch/riscv/lib/andes_plic.c | 2 | ||||
-rw-r--r-- | arch/riscv/lib/smp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/lib/andes_plic.c b/arch/riscv/lib/andes_plic.c index 5e113ee..6851475 100644 --- a/arch/riscv/lib/andes_plic.c +++ b/arch/riscv/lib/andes_plic.c @@ -71,7 +71,7 @@ int riscv_init_ipi(void) continue; /* skip if hart is marked as not available */ - if (!ofnode_is_available(node)) + if (!ofnode_is_enabled(node)) continue; /* read hart ID of CPU */ diff --git a/arch/riscv/lib/smp.c b/arch/riscv/lib/smp.c index c0f65af..4f073a0 100644 --- a/arch/riscv/lib/smp.c +++ b/arch/riscv/lib/smp.c @@ -27,7 +27,7 @@ static int send_ipi_many(struct ipi_data *ipi, int wait) ofnode_for_each_subnode(node, cpus) { /* skip if hart is marked as not available in the device tree */ - if (!ofnode_is_available(node)) + if (!ofnode_is_enabled(node)) continue; /* read hart ID of CPU */ |