aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.14/0110-fix_bootargs_handling.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-03-16 07:39:46 +0000
committerJohn Crispin <john@openwrt.org>2015-03-16 07:39:46 +0000
commit7648d80c901faedb43f296411e9686d7e9eda592 (patch)
tree8e117f17f90c8fdd4ea8edbbd50a3d51ab332e5d /target/linux/ramips/patches-3.14/0110-fix_bootargs_handling.patch
parentf2f8f6974b52251580608923557b5355ea3aebe3 (diff)
downloadupstream-7648d80c901faedb43f296411e9686d7e9eda592.tar.gz
upstream-7648d80c901faedb43f296411e9686d7e9eda592.tar.bz2
upstream-7648d80c901faedb43f296411e9686d7e9eda592.zip
ralink: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44811
Diffstat (limited to 'target/linux/ramips/patches-3.14/0110-fix_bootargs_handling.patch')
-rw-r--r--target/linux/ramips/patches-3.14/0110-fix_bootargs_handling.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/ramips/patches-3.14/0110-fix_bootargs_handling.patch b/target/linux/ramips/patches-3.14/0110-fix_bootargs_handling.patch
deleted file mode 100644
index 203d2455d2..0000000000
--- a/target/linux/ramips/patches-3.14/0110-fix_bootargs_handling.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/arch/mips/ralink/of.c
-+++ b/arch/mips/ralink/of.c
-@@ -3,7 +3,7 @@
- * under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation.
- *
-- * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
-+ * Copyright (C) 2008-2014 Imre Kaloz <kaloz@openwrt.org>
- * Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
- * Copyright (C) 2013 John Crispin <blogic@openwrt.org>
- */
-@@ -91,6 +91,17 @@ static int __init early_init_dt_find_mem
- return 0;
- }
-
-+static int chosen_dtb;
-+
-+static int __init early_init_dt_find_chosen(unsigned long node, const char *uname,
-+ int depth, void *data)
-+{
-+ if (depth == 1 && !strcmp(uname, "chosen"))
-+ chosen_dtb = 1;
-+
-+ return 0;
-+}
-+
- extern struct boot_param_header __image_dtb;
-
- void __init plat_mem_setup(void)
-@@ -103,7 +114,9 @@ void __init plat_mem_setup(void)
- */
- __dt_setup_arch(&__image_dtb);
-
-- strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE);
-+ of_scan_flat_dt(early_init_dt_find_chosen, NULL);
-+ 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)