diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-06-02 13:45:20 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-06-02 13:45:20 +0000 |
commit | 0de25d1263319b007a989e850515b21591278056 (patch) | |
tree | 479a687e1955af743415c70660cdaca47bce0271 /target/linux/au1000/patches-2.6.39/001-mtx1_cmdline.patch | |
parent | 31dd60689e00e674c1767665e14d4eb841b11137 (diff) | |
download | mtk-20170518-0de25d1263319b007a989e850515b21591278056.zip mtk-20170518-0de25d1263319b007a989e850515b21591278056.tar.gz mtk-20170518-0de25d1263319b007a989e850515b21591278056.tar.bz2 |
update to 2.6.39
SVN-Revision: 27090
Diffstat (limited to 'target/linux/au1000/patches-2.6.39/001-mtx1_cmdline.patch')
-rw-r--r-- | target/linux/au1000/patches-2.6.39/001-mtx1_cmdline.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/au1000/patches-2.6.39/001-mtx1_cmdline.patch b/target/linux/au1000/patches-2.6.39/001-mtx1_cmdline.patch new file mode 100644 index 0000000..d5c5d4a --- /dev/null +++ b/target/linux/au1000/patches-2.6.39/001-mtx1_cmdline.patch @@ -0,0 +1,19 @@ +--- a/arch/mips/alchemy/mtx-1/init.c ++++ b/arch/mips/alchemy/mtx-1/init.c +@@ -33,6 +33,7 @@ + + #include <asm/bootinfo.h> + #include <asm/mach-au1x00/au1000.h> ++#include <asm/string.h> + + #include <prom.h> + +@@ -50,7 +51,7 @@ void __init prom_init(void) + prom_argv = (char **)fw_arg1; + prom_envp = (char **)fw_arg2; + +- prom_init_cmdline(); ++ strcpy(arcs_cmdline, CONFIG_CMDLINE); + + memsize_str = prom_getenv("memsize"); + if (!memsize_str) |