aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpu/imx8_cpu.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:27:17 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 16:11:31 -0400
commit8909066199281b86bf4ee7673ec6d7983dd12a26 (patch)
tree8e2b25f62f29ad0e2a9252b41ce1e916b4ecac8d /drivers/cpu/imx8_cpu.c
parent52ad21aa2cc55f53da19436f457a8590abf0d125 (diff)
downloadu-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 'drivers/cpu/imx8_cpu.c')
-rw-r--r--drivers/cpu/imx8_cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index abddbef..b8eb2d2 100644
--- a/drivers/cpu/imx8_cpu.c
+++ b/drivers/cpu/imx8_cpu.c
@@ -144,7 +144,7 @@ static int cpu_imx_get_count(const struct udevice *dev)
ofnode_for_each_subnode(node, dev_ofnode(dev->parent)) {
const char *device_type;
- if (!ofnode_is_available(node))
+ if (!ofnode_is_enabled(node))
continue;
device_type = ofnode_read_string(node, "device_type");