Skip to content
Snippets Groups Projects
Commit 63c09417 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Simon Glass
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Fixed build error for x86:
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent f7f191ee
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment