diff options
author | Govindraj Raja <Govindraj.Raja@imgtec.com> | 2015-08-19 19:19:15 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2015-08-21 15:22:41 +0200 |
commit | 4adcb2380c899be91e46be93662084b3e08c5f21 (patch) | |
tree | 337d662c607ca2e3a1f226e8f54de56e45bc62c5 /arch | |
parent | 73a4152b2579c86f4401e0984c70eed7dd8cedfa (diff) | |
download | u-boot-imx-4adcb2380c899be91e46be93662084b3e08c5f21.zip u-boot-imx-4adcb2380c899be91e46be93662084b3e08c5f21.tar.gz u-boot-imx-4adcb2380c899be91e46be93662084b3e08c5f21.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/lib/bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index e289799..9c647aa 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -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); |