]> git.sur5r.net Git - u-boot/commitdiff
arm: Add CONFIG_OF_BOARD_SETUP support to bootm
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 17 Aug 2012 10:28:50 +0000 (10:28 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 4 Oct 2012 14:11:18 +0000 (16:11 +0200)
ARM boards need to change device tree settings as well

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/lib/bootm.c

index 999f201ef6ebd37d300b5eb84250fefdf172bce5..a9070d54457c44082fcf4cadeea7fba9145d5827 100644 (file)
@@ -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;
 }