diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-10-10 15:13:46 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-10-10 15:13:46 +0000 |
commit | eac20bee29a59c0527af99876295984b61f6b955 (patch) | |
tree | 0f8c817f0dfc9ae67a7e62306b3070c4b4c8f1c0 /target/linux/lantiq/patches-3.0/230-cmdline_hack.patch | |
parent | 001373d3bc5f5e7be6c83da0a6b476b668878969 (diff) |
[lantiq]
* update patches to 3.0
* add basic vr9 support
* backport 3.1 fixes
* backport 3.2 queue (falcon)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28405 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.0/230-cmdline_hack.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.0/230-cmdline_hack.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/target/linux/lantiq/patches-3.0/230-cmdline_hack.patch b/target/linux/lantiq/patches-3.0/230-cmdline_hack.patch deleted file mode 100644 index 8ce57ba0a..000000000 --- a/target/linux/lantiq/patches-3.0/230-cmdline_hack.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- a/arch/mips/lantiq/prom.c -+++ b/arch/mips/lantiq/prom.c -@@ -39,6 +39,34 @@ void prom_free_prom_memory(void) - { - } - -+#ifdef CONFIG_IMAGE_CMDLINE_HACK -+extern char __image_cmdline[]; -+ -+static void __init -+prom_init_image_cmdline(void) -+{ -+ char *p = __image_cmdline; -+ int replace = 0; -+ -+ if (*p == '-') { -+ replace = 1; -+ p++; -+ } -+ -+ if (*p == '\0') -+ return; -+ -+ if (replace) { -+ strlcpy(arcs_cmdline, p, sizeof(arcs_cmdline)); -+ } else { -+ strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); -+ strlcat(arcs_cmdline, p, sizeof(arcs_cmdline)); -+ } -+} -+#else -+static void __init prom_init_image_cmdline(void) { return; } -+#endif -+ - static void __init prom_init_cmdline(void) - { - int argc = fw_arg0; -@@ -55,6 +83,7 @@ static void __init prom_init_cmdline(voi - strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); - } - } -+ prom_init_image_cmdline(); - } - - void __init prom_init(void) |