diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-10 17:14:29 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:45:18 -0500 |
commit | 17327862f3107b3a2a8ddd586f6b488b3ae37a13 (patch) | |
tree | 9a9fe70f735d65743ab50508cc992e7d14753b59 /arch/mips/lantiq | |
parent | d32caf94e0a7029ae3e829d296aa63f9f3c4d9a7 (diff) |
MIPS: lantiq: 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/8048/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r-- | arch/mips/lantiq/prom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c index 968da50b5111..39ab3e786e59 100644 --- a/arch/mips/lantiq/prom.c +++ b/arch/mips/lantiq/prom.c | |||
@@ -77,6 +77,8 @@ void __init plat_mem_setup(void) | |||
77 | * parsed resulting in our memory appearing | 77 | * parsed resulting in our memory appearing |
78 | */ | 78 | */ |
79 | __dt_setup_arch(__dtb_start); | 79 | __dt_setup_arch(__dtb_start); |
80 | |||
81 | strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); | ||
80 | } | 82 | } |
81 | 83 | ||
82 | void __init device_tree_init(void) | 84 | void __init device_tree_init(void) |