summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-18 17:40:59 +0900
committerTom Rini <trini@ti.com>2014-06-19 11:18:47 -0400
commitdbe963ae516356395182325a032a55356d46d275 (patch)
tree4eaff93a7d0e9e33f4f60fb0c386f68e945312ea /arch/microblaze
parent8edb21925e6135fb402770a288c4f321f7a05e1b (diff)
downloadtalos-obmc-uboot-dbe963ae516356395182325a032a55356d46d275.tar.gz
talos-obmc-uboot-dbe963ae516356395182325a032a55356d46d275.zip
fdt_support: delete force argument of fdt_initrd()
After all, we have realized "force" argument is completely useless. fdt_initrd() was always called with force = 1. We should always want to do the same thing (set appropriate value to the property) even if the property already exists. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/lib/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c
index d60b307f6f..6977dd641a 100644
--- a/arch/microblaze/lib/bootm.c
+++ b/arch/microblaze/lib/bootm.c
@@ -58,7 +58,7 @@ int do_bootm_linux(int flag, int argc, char * const argv[],
/* fixup the initrd now that we know where it should be */
if (images->rd_start && images->rd_end && of_flat_tree)
ret = fdt_initrd(of_flat_tree, images->rd_start,
- images->rd_end, 1);
+ images->rd_end);
if (ret)
return 1;
OpenPOWER on IntegriCloud