]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Implement weak arch_fixup_fdt()
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 24 Jan 2018 17:47:09 +0000 (20:47 +0300)
committerSimon Glass <sjg@chromium.org>
Sun, 18 Feb 2018 19:53:38 +0000 (12:53 -0700)
commit4280342adb2d72d6242ec1ffbb723af380b31586
tree6103f3a10ec88d20f980999495e9337a5edfcaf7
parent32fe36574ea5e6ea55313e16547b98a984af7767
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>
arch/arc/lib/bootm.c
arch/microblaze/lib/bootm.c
arch/mips/lib/bootm.c
arch/nds32/lib/bootm.c
arch/powerpc/lib/bootm.c
arch/sandbox/lib/bootm.c
arch/x86/lib/bootm.c
common/image-fdt.c