summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-04-01 21:28:51 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-04-01 21:28:51 +0000
commit4221581d908b627f60a2b0216887e513e1c5bc06 (patch)
treefc3333b9858700d881eafbe2588980a113a8e4a2 /target
parentd38f54699445035bb9253661169cf3f5b1fff641 (diff)
downloadmtk-20170518-4221581d908b627f60a2b0216887e513e1c5bc06.zip
mtk-20170518-4221581d908b627f60a2b0216887e513e1c5bc06.tar.gz
mtk-20170518-4221581d908b627f60a2b0216887e513e1c5bc06.tar.bz2
use CONFIG_CMDLINE on Atheros boards
SVN-Revision: 6808
Diffstat (limited to 'target')
-rw-r--r--target/linux/atheros-2.6/config/default1
-rw-r--r--target/linux/atheros-2.6/files/arch/mips/atheros/prom.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros-2.6/config/default b/target/linux/atheros-2.6/config/default
index afc8a7d..0f06422 100644
--- a/target/linux/atheros-2.6/config/default
+++ b/target/linux/atheros-2.6/config/default
@@ -8,6 +8,7 @@ CONFIG_ATHEROS_AR5315=y
# CONFIG_ATM is not set
CONFIG_BASE_SMALL=0
# CONFIG_BT is not set
+CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit"
CONFIG_CPU_BIG_ENDIAN=y
CONFIG_CPU_HAS_LLSC=y
CONFIG_CPU_HAS_PREFETCH=y
diff --git a/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c b/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c
index 45f4db9..489f309 100644
--- a/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c
+++ b/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c
@@ -34,7 +34,6 @@ void __init prom_init(void)
DO_AR5312(ar5312_prom_init();)
DO_AR5315(ar5315_prom_init();)
- strcpy(arcs_cmdline, "console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit");
}
void __init prom_free_prom_memory(void)