[U-Boot] [PATCH v3] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY
Simon Glass
sjg at chromium.org
Sat Dec 3 19:40:19 CET 2016
On 25 November 2016 at 19:02, Masahiro Yamada
<yamada.masahiro at socionext.com> 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 <yamada.masahiro at socionext.com>
> Acked-by: Alexey Brodkin <abrodkin at synopsys.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>
> 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!
More information about the U-Boot
mailing list