projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e7067f
)
arm: Add CONFIG_OF_BOARD_SETUP support to bootm
author
Joe Hershberger
<joe.hershberger@ni.com>
Fri, 17 Aug 2012 10:28:50 +0000
(10:28 +0000)
committer
Albert 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
patch
|
blob
|
history
diff --git
a/arch/arm/lib/bootm.c
b/arch/arm/lib/bootm.c
index
999f201
..
a9070d5
100644
(file)
--- 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;
}