On 25 November 2016 at 19:02, Masahiro Yamada <[email protected]> wrote: > Commit e2f88dfd2d96 ("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 <[email protected]> > Acked-by: Alexey Brodkin <[email protected]> > Acked-by: Simon Glass <[email protected]> > --- > > Changes in v3: > - Add an empty stub to sandbox to fix a build error > > Changes in v2: > - Add empty stub to ARC, PowerPC, Microblaze instead of > a weak function common/image-fdt.c > > Kconfig | 5 ++--- > arch/arc/lib/bootm.c | 5 +++++ > arch/arm/lib/bootm-fdt.c | 2 -- > arch/arm/lib/bootm.c | 2 -- > arch/microblaze/lib/bootm.c | 5 +++++ > arch/mips/lib/bootm.c | 2 -- > arch/powerpc/lib/bootm.c | 5 +++++ > arch/sandbox/lib/bootm.c | 5 +++++ > common/fdt_support.c | 2 ++ > common/image-fdt.c | 2 -- > include/fdt_support.h | 8 ++++++++ > 11 files changed, 32 insertions(+), 11 deletions(-)
Fixed up an x86 build error. Applied to u-boot-dm, thanks! _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

