Commit 4adcb238 authored by Govindraj Raja's avatar Govindraj Raja Committed by Daniel Schwierzeck

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: default avatarGovindraj Raja <>
parent 73a4152b
......@@ -95,10 +95,10 @@ static void boot_setup_fdt(bootm_headers_t *images)
debug("## setup FDT\n");
fdt_chosen(images->ft_addr, 1);
fdt_fixup_memory_banks(images->ft_addr, &mem_start, &mem_size, 1);
fdt_initrd(images->ft_addr, images->initrd_start, images->initrd_end, 1);
fdt_initrd(images->ft_addr, images->initrd_start, images->initrd_end);
ft_board_setup(images->ft_addr, gd->bd);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment