u-boot/arch
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
..
arc Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
arm fdt_support: Add fdt_for_each_node_by_compatible() helper macro 2022-01-20 11:35:29 +01:00
m68k m68k: mcf5445x: pci: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
microblaze microblaze: branch to base vector address on reset 2022-01-05 10:22:03 +01:00
mips fdt_support: Add fdt_for_each_node_by_compatible() helper macro 2022-01-20 11:35:29 +01:00
nds32 Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
nios2 lmb: nios2: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
powerpc fdt_support: Add fdt_for_each_node_by_compatible() helper macro 2022-01-20 11:35:29 +01:00
riscv efi_loader: fix SectionAlignment, FileAlignment 2022-01-15 10:57:22 +01:00
sandbox sandbox: compatibility of os_get_filesize() 2022-01-13 09:13:41 -07:00
sh Convert CONFIG_CPU_SH7751 to Kconfig 2021-12-27 16:20:19 -05:00
x86 x86: efi: Set the correct link flags for the 64-bit EFI app 2022-01-15 10:57:22 +01:00
xtensa Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
.gitignore
Kconfig Convert CONFIG_ARCH_MAP_SYSMEM to Kconfig 2021-12-27 16:20:18 -05:00
u-boot-elf.lds