Use CONFIG_CMDLINE instead of hardcoded kernel command line
authorFlorian Fainelli <florian@openwrt.org>
Tue, 3 Apr 2007 19:54:46 +0000 (19:54 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 3 Apr 2007 19:54:46 +0000 (19:54 +0000)
SVN-Revision: 6852

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

index e644fc37c5bf36f387e5868e91f1db4528533ca1..e16ac65001f228fea18e0b8ae76689e3c8294f0a 100644 (file)
@@ -111,7 +111,7 @@ void __init prom_init(void)
        adm5120_info_init();
 
        /* init command line, register a default kernel command line */
-       strcpy(&(arcs_cmdline[0]), "console=ttyS0,115200 rootfstype=squashfs,jffs2 init=/etc/preinit");
+       strcpy(&(arcs_cmdline[0]), CONFIG_CMDLINE);
 
        /* init memory map */
        prom_meminit();