aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.9/0100-prom_fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-4.9/0100-prom_fixes.patch')
-rw-r--r--target/linux/ramips/patches-4.9/0100-prom_fixes.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-4.9/0100-prom_fixes.patch b/target/linux/ramips/patches-4.9/0100-prom_fixes.patch
index 50eeeea219..07042f89b1 100644
--- a/target/linux/ramips/patches-4.9/0100-prom_fixes.patch
+++ b/target/linux/ramips/patches-4.9/0100-prom_fixes.patch
@@ -50,8 +50,8 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ if (chosen_dtb)
+ strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE);
- of_scan_flat_dt(early_init_dt_find_memory, NULL);
- if (memory_dtb)
+ strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE);
+
--- a/arch/mips/kernel/head.S
+++ b/arch/mips/kernel/head.S
@@ -85,6 +85,9 @@ EXPORT(__image_cmdline)