mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
MIPS: fix syntax for fdt_chosen/initrd.
The syntax for the fdt_chosen/initrd functions seem to deprecated in usage from MIPS bootm implementation. Third parameter is no more used in these api's Refer to : include/fdt_support.h Signed-off-by: Govindraj Raja <govindraj.raja@imgtec.com>
This commit is contained in:
parent
73a4152b25
commit
4adcb2380c
1 changed files with 2 additions and 2 deletions
|
|
@ -95,10 +95,10 @@ static void boot_setup_fdt(bootm_headers_t *images)
|
|||
|
||||
debug("## setup FDT\n");
|
||||
|
||||
fdt_chosen(images->ft_addr, 1);
|
||||
fdt_chosen(images->ft_addr);
|
||||
fdt_fixup_memory_banks(images->ft_addr, &mem_start, &mem_size, 1);
|
||||
fdt_fixup_ethernet(images->ft_addr);
|
||||
fdt_initrd(images->ft_addr, images->initrd_start, images->initrd_end, 1);
|
||||
fdt_initrd(images->ft_addr, images->initrd_start, images->initrd_end);
|
||||
|
||||
#if defined(CONFIG_OF_BOARD_SETUP)
|
||||
ft_board_setup(images->ft_addr, gd->bd);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue