diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-08 17:28:51 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:45:23 -0500 |
commit | 4248f7f121b755b272a3c77a1a5601faa6004350 (patch) | |
tree | 98c77d5bb2aa60744289002ebe4aff2a26cb9e6a /arch/mips | |
parent | 7a1a44c909fcb4707b01448a28490d7be366b530 (diff) |
MIPS: ralink: copy the commandline from the devicetree
This is a regression caused by:
commit afb46f7996e91aeb36e07bc92cf96e8045bec00e
Author: Rob Herring <robh@kernel.org>
Date: Wed Apr 2 19:07:24 2014 -0500
mips: ralink: convert to use unflatten_and_copy_device_tree
Make the of init code reuse the cmdline defined inside the dts.
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/8008/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/ralink/of.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c index f9eda5d8f82c..0d30dcd63246 100644 --- a/arch/mips/ralink/of.c +++ b/arch/mips/ralink/of.c | |||
@@ -74,6 +74,8 @@ void __init plat_mem_setup(void) | |||
74 | */ | 74 | */ |
75 | __dt_setup_arch(__dtb_start); | 75 | __dt_setup_arch(__dtb_start); |
76 | 76 | ||
77 | strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); | ||
78 | |||
77 | of_scan_flat_dt(early_init_dt_find_memory, NULL); | 79 | of_scan_flat_dt(early_init_dt_find_memory, NULL); |
78 | if (memory_dtb) | 80 | if (memory_dtb) |
79 | of_scan_flat_dt(early_init_dt_scan_memory, NULL); | 81 | of_scan_flat_dt(early_init_dt_scan_memory, NULL); |