aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.3/0104-fix_bootargs_handling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-4.3/0104-fix_bootargs_handling.patch')
-rw-r--r--target/linux/ramips/patches-4.3/0104-fix_bootargs_handling.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-4.3/0104-fix_bootargs_handling.patch b/target/linux/ramips/patches-4.3/0104-fix_bootargs_handling.patch
index 9f76aa1f5b..5095d68df4 100644
--- a/target/linux/ramips/patches-4.3/0104-fix_bootargs_handling.patch
+++ b/target/linux/ramips/patches-4.3/0104-fix_bootargs_handling.patch
@@ -36,5 +36,5 @@
+ 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);
+