From: Daniel Schwierzeck Date: Thu, 25 Jan 2018 16:32:34 +0100 Subject: [U-Boot] [PATCH] fdt: Implement weak arch_fixup_fdt() In-Reply-To: <20180124174709.32714-1-abrodkin@synopsys.com> References: <20180124174709.32714-1-abrodkin@synopsys.com> Message-ID: <42217755-ea54-bdd2-fd1b-8bbe24062152@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 24.01.2018 18:47, Alexey Brodkin wrote: > 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 > Cc: Daniel Schwierzeck > Cc: Simon Glass > Cc: York Sun > Cc: Stefan Roese > --- > arch/arc/lib/bootm.c | 5 ----- > arch/microblaze/lib/bootm.c | 5 ----- > arch/mips/lib/bootm.c | 6 ++---- > arch/nds32/lib/bootm.c | 6 ------ > arch/powerpc/lib/bootm.c | 5 ----- > arch/sandbox/lib/bootm.c | 5 ----- > arch/x86/lib/bootm.c | 5 ----- > common/image-fdt.c | 5 +++++ > 8 files changed, 7 insertions(+), 35 deletions(-) > Reviewed-by: Daniel Schwierzeck -- - Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: