u-boot/board/congatec/cgtqmx8
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
..
cgtqmx8.c arm: use the correct prototype for reset_cpu function 2021-07-28 19:30:22 -04:00
imximage.cfg imx: support for conga-QMX8 board 2021-06-09 13:34:09 +02:00
Kconfig imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
MAINTAINERS imx: support for conga-QMX8 board 2021-06-09 13:34:09 +02:00
Makefile imx: support for conga-QMX8 board 2021-06-09 13:34:09 +02:00
spl.c fdt_support: Add fdt_for_each_node_by_compatible() helper macro 2022-01-20 11:35:29 +01:00