summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-01 21:28:51 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-01 21:28:51 +0000
commit283456bc18b5f902545613f24f360291ce0b216f (patch)
tree3ac9018d5cbd3d493729a7747d959069e20f36db /target/linux
parent54bdb08ab1ae587d20767ea9b590c52b3308c96b (diff)
use CONFIG_CMDLINE on Atheros boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6808 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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 afc8a7df7..0f0642225 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 45f4db9e1..489f30927 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)