From: Joe Hershberger Date: Fri, 17 Aug 2012 10:28:50 +0000 (+0000) Subject: arm: Add CONFIG_OF_BOARD_SETUP support to bootm X-Git-Tag: v2012.10-rc3~15^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6734261ec1aefc1abed533950520f1e9f785c3f;p=u-boot arm: Add CONFIG_OF_BOARD_SETUP support to bootm ARM boards need to change device tree settings as well Signed-off-by: Joe Hershberger --- diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 999f201ef6..a9070d5445 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -258,6 +258,9 @@ static int create_fdt(bootm_headers_t *images) fixup_memory_node(*of_flat_tree); fdt_fixup_ethernet(*of_flat_tree); fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1); +#ifdef CONFIG_OF_BOARD_SETUP + ft_board_setup(*of_flat_tree, gd->bd); +#endif return 0; }