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>
This commit is contained in:
committed by
Tom Rini
parent
8edb21925e
commit
dbe963ae51
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user