mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
4e7067f332
commit
c6734261ec
1 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,9 @@ static int create_fdt(bootm_headers_t *images)
|
||||||
fixup_memory_node(*of_flat_tree);
|
fixup_memory_node(*of_flat_tree);
|
||||||
fdt_fixup_ethernet(*of_flat_tree);
|
fdt_fixup_ethernet(*of_flat_tree);
|
||||||
fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue