diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-08-17 10:28:50 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-04 16:11:18 +0200 |
commit | c6734261ec1aefc1abed533950520f1e9f785c3f (patch) | |
tree | 5fcc572cbaa58343b47e9e0afdd3e6923c7b5c0b /arch/arm | |
parent | 4e7067f3326e5ba625fdacb1d28e658da3ece948 (diff) | |
download | u-boot-imx-c6734261ec1aefc1abed533950520f1e9f785c3f.zip u-boot-imx-c6734261ec1aefc1abed533950520f1e9f785c3f.tar.gz u-boot-imx-c6734261ec1aefc1abed533950520f1e9f785c3f.tar.bz2 |
arm: Add CONFIG_OF_BOARD_SETUP support to bootm
ARM boards need to change device tree settings as well
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/lib/bootm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 999f201..a9070d5 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; } |