libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY
Commit e2f88dfd ("libfdt: Introduce new ARCH_FIXUP_FDT option") allows us to skip memory setup of DTB, but a problem for ARM is that spin_table_update_dt() and psci_update_dt() are skipped as well if CONFIG_ARCH_FIXUP_FDT is disabled. This commit allows us to skip only fdt_fixup_memory_banks() instead of the whole of arch_fixup_fdt(). It will be useful when we want to use a memory node from a kernel DTB as is, but need some fixups for Spin-Table/PSCI. Signed-off-by:Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Alexey Brodkin <abrodkin@synopsys.com> Acked-by:
Simon Glass <sjg@chromium.org> Fixed build error for x86: Signed-off-by:
Simon Glass <sjg@chromium.org>
Showing
- Kconfig 2 additions, 3 deletionsKconfig
- arch/arc/lib/bootm.c 5 additions, 0 deletionsarch/arc/lib/bootm.c
- arch/arm/lib/bootm-fdt.c 0 additions, 2 deletionsarch/arm/lib/bootm-fdt.c
- arch/arm/lib/bootm.c 0 additions, 2 deletionsarch/arm/lib/bootm.c
- arch/microblaze/lib/bootm.c 5 additions, 0 deletionsarch/microblaze/lib/bootm.c
- arch/mips/lib/bootm.c 0 additions, 2 deletionsarch/mips/lib/bootm.c
- arch/powerpc/lib/bootm.c 5 additions, 0 deletionsarch/powerpc/lib/bootm.c
- arch/sandbox/lib/bootm.c 5 additions, 0 deletionsarch/sandbox/lib/bootm.c
- arch/x86/lib/bootm.c 5 additions, 0 deletionsarch/x86/lib/bootm.c
- common/fdt_support.c 2 additions, 0 deletionscommon/fdt_support.c
- common/image-fdt.c 0 additions, 2 deletionscommon/image-fdt.c
- include/fdt_support.h 8 additions, 0 deletionsinclude/fdt_support.h
Loading
Please register or sign in to comment