use CONFIG_CMDLINE on Atheros boards
authorImre Kaloz <kaloz@openwrt.org>
Sun, 1 Apr 2007 21:28:51 +0000 (21:28 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Sun, 1 Apr 2007 21:28:51 +0000 (21:28 +0000)
SVN-Revision: 6808

target/linux/atheros-2.6/config/default
target/linux/atheros-2.6/files/arch/mips/atheros/prom.c

index afc8a7df74f6ddf5cdce09763ddcf4700d828f41..0f06422257e5ca254793eafb93ae1cab9e24db6d 100644 (file)
@@ -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
index 45f4db9e1218562a85c707db6287fd28f344bd6a..489f3092793ce12b9c677a294d1d0f85b96bb3e2 100644 (file)
@@ -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)