Skip to content
Snippets Groups Projects
  • Alexey Brodkin's avatar
    4280342a
    fdt: Implement weak arch_fixup_fdt() · 4280342a
    Alexey Brodkin authored
    
    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: default avatarAlexey 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: default avatarTom Rini <trini@konsulko.com>
    Reviewed-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
    4280342a
    History
    fdt: Implement weak arch_fixup_fdt()
    Alexey Brodkin authored
    
    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: default avatarAlexey 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: default avatarTom Rini <trini@konsulko.com>
    Reviewed-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>