u-boot/board/Marvell/octeon_ebb7304
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
..
board.c fdt_support: Add fdt_for_each_node_by_compatible() helper macro 2022-01-20 11:35:29 +01:00
board_ddr.h mips: octeon: octeon_ebb7304: Add DDR4 support 2020-10-07 20:25:57 +02:00
Kconfig mips: octeon: Add minimal Octeon 3 EBB7304 EVK support 2020-07-18 15:47:50 +02:00
MAINTAINERS mips: octeon: Add minimal Octeon 3 EBB7304 EVK support 2020-07-18 15:47:50 +02:00
Makefile mips: octeon: Add minimal Octeon 3 EBB7304 EVK support 2020-07-18 15:47:50 +02:00