u-boot/drivers/net/fm
Marek Behún 3058e283b8 fdt_support: Add fdt_for_each_node_by_compatible() helper macro
Add macro fdt_for_each_node_by_compatible() to allow iterating over
fdt nodes by compatible string.

Convert various usages of
    off = fdt_node_offset_by_compatible(fdt, start, compat);
    while (off > 0) {
        code();
        off = fdt_node_offset_by_compatible(fdt, off, compat);
    }
and similar, to
    fdt_for_each_node_by_compatible(off, fdt, start, compat)
        code();

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-01-20 11:35:29 +01:00
..
b4860.c
dtsec.c
eth.c
fdt.c fdt_support: Add fdt_for_each_node_by_compatible() helper macro 2022-01-20 11:35:29 +01:00
fm.c
fm.h
init.c
ls1043.c
ls1046.c
Makefile
memac.c
memac_phy.c net: fsl: Fix busy flag polling register 2022-01-15 18:53:16 +02:00
p1023.c
p4080.c
p5020.c
p5040.c
t1024.c
t1040.c
t2080.c
t4240.c
tgec.c
tgec_phy.c