summaryrefslogtreecommitdiff
path: root/common/cmd_fdt.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-18 17:41:00 +0900
committerTom Rini <trini@ti.com>2014-06-19 11:18:48 -0400
commitbc6ed0f9dc56fe1738646e6882a0b87e6766eaaa (patch)
tree4e38cd29b6be113850fa5432bbf544beb00a1d36 /common/cmd_fdt.c
parentdbe963ae516356395182325a032a55356d46d275 (diff)
downloadu-boot-imx-bc6ed0f9dc56fe1738646e6882a0b87e6766eaaa.zip
u-boot-imx-bc6ed0f9dc56fe1738646e6882a0b87e6766eaaa.tar.gz
u-boot-imx-bc6ed0f9dc56fe1738646e6882a0b87e6766eaaa.tar.bz2
fdt_support: delete force argument of fdt_chosen()
After all, we have realized "force" argument is completely useless. fdt_chosen() 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 'common/cmd_fdt.c')
-rw-r--r--common/cmd_fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c
index cc2b0e2..6831af4 100644
--- a/common/cmd_fdt.c
+++ b/common/cmd_fdt.c
@@ -581,7 +581,7 @@ static int do_fdt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
initrd_end = simple_strtoul(argv[3], NULL, 16);
}
- fdt_chosen(working_fdt, 1);
+ fdt_chosen(working_fdt);
fdt_initrd(working_fdt, initrd_start, initrd_end);
#if defined(CONFIG_FIT_SIGNATURE)