projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a4152
)
MIPS: fix syntax for fdt_chosen/initrd.
author
Govindraj Raja
<Govindraj.Raja@imgtec.com>
Wed, 19 Aug 2015 18:19:15 +0000
(19:19 +0100)
committer
Daniel Schwierzeck
<daniel.schwierzeck@gmail.com>
Fri, 21 Aug 2015 13:22:41 +0000
(15:22 +0200)
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>
arch/mips/lib/bootm.c
patch
|
blob
|
history
diff --git
a/arch/mips/lib/bootm.c
b/arch/mips/lib/bootm.c
index e289799c1ee3c42247f308465494a356eb087691..9c647aa42851a13f62ad62588e61623cfbccbf09 100644
(file)
--- 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);