use /etc/preinit on atheros-2.6
authorFelix Fietkau <nbd@openwrt.org>
Fri, 2 Mar 2007 01:39:14 +0000 (01:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 2 Mar 2007 01:39:14 +0000 (01:39 +0000)
SVN-Revision: 6452

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

index 5a4ee63b2c33772b37010f6f0f13d374d894afe0..45f4db9e1218562a85c707db6287fd28f344bd6a 100644 (file)
@@ -34,7 +34,7 @@ void __init prom_init(void)
        DO_AR5312(ar5312_prom_init();)
        DO_AR5315(ar5315_prom_init();)
 
-       strcpy(arcs_cmdline, "console=ttyS0,9600 rootfstype=squashfs,jffs2");
+       strcpy(arcs_cmdline, "console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit");
 }
 
 void __init prom_free_prom_memory(void)