From: Florian Fainelli Date: Tue, 3 Apr 2007 19:54:46 +0000 (+0000) Subject: Use CONFIG_CMDLINE instead of hardcoded kernel command line X-Git-Tag: kamikaze_7.06~292 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f4d0adbed80fcb8d04134a8e7407a4b3732854d;p=openwrt%2Fsvn-archive%2Fopenwrt.git Use CONFIG_CMDLINE instead of hardcoded kernel command line SVN-Revision: 6852 --- diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c index e644fc37c5..e16ac65001 100644 --- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c +++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c @@ -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();