fdt: Implement weak arch_fixup_fdt()
Only ARM and in some configs MIPS really implement arch_fixup_fdt(). Others just use the same boilerplate which is not good by itself, but what's worse if we try to build with disabled CONFIG_CMD_BOOTM and enabled CONFIG_OF_LIBFDT we'll hit an unknown symbol which was apparently implemented in arch/xxx/lib/bootm.c. Now with weak arch_fixup_fdt() right in image-fdt.c where it is used we get both items highlighted above fixed. Signed-off-by:Alexey Brodkin <abrodkin@synopsys.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: York Sun <york.sun@nxp.com> Cc: Stefan Roese <sr@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Showing
- arch/arc/lib/bootm.c 0 additions, 5 deletionsarch/arc/lib/bootm.c
- arch/microblaze/lib/bootm.c 0 additions, 5 deletionsarch/microblaze/lib/bootm.c
- arch/mips/lib/bootm.c 2 additions, 4 deletionsarch/mips/lib/bootm.c
- arch/nds32/lib/bootm.c 0 additions, 6 deletionsarch/nds32/lib/bootm.c
- arch/powerpc/lib/bootm.c 0 additions, 5 deletionsarch/powerpc/lib/bootm.c
- arch/sandbox/lib/bootm.c 0 additions, 5 deletionsarch/sandbox/lib/bootm.c
- arch/x86/lib/bootm.c 0 additions, 5 deletionsarch/x86/lib/bootm.c
- common/image-fdt.c 5 additions, 0 deletionscommon/image-fdt.c
Loading
Please register or sign in to comment