summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson
diff options
context:
space:
mode:
authorRobert Millan <rmh@gnu.org>2010-11-07 13:38:29 +0100
committerRalf Baechle <ralf@linux-mips.org>2011-03-14 21:07:25 +0100
commit597c6740185c44686b5476a251eb53a13f685ae9 (patch)
tree829e9b7f7f8cad7817942f5ab63ef35dac5dd025 /arch/mips/loongson
parente56293b129607be089f2c12906d709e3c84b68c4 (diff)
downloadlinux-597c6740185c44686b5476a251eb53a13f685ae9.tar.gz
linux-597c6740185c44686b5476a251eb53a13f685ae9.tar.bz2
linux-597c6740185c44686b5476a251eb53a13f685ae9.zip
MIPS: Loongson: Remove ad-hoc cmdline default
Loongson builds have an ad-hoc cmdline default of "console=ttyS0,115200 root=/dev/hda1". These settings come from a vendor; I remember builds from Lemote branch requiring a "console=tty" override in order to get a working console. At least on Yeeloong, they're particularly useless: there's no external serial port, and the IDE drive is now recognised as /dev/sda. Signed-off-by: Robert Millan <rmh@gnu.org> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/1759/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/loongson')
-rw-r--r--arch/mips/loongson/common/cmdline.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/loongson/common/cmdline.c b/arch/mips/loongson/common/cmdline.c
index 1a06defc4f7f..353e1d2e41a5 100644
--- a/arch/mips/loongson/common/cmdline.c
+++ b/arch/mips/loongson/common/cmdline.c
@@ -44,10 +44,5 @@ void __init prom_init_cmdline(void)
strcat(arcs_cmdline, " ");
}
- if ((strstr(arcs_cmdline, "console=")) == NULL)
- strcat(arcs_cmdline, " console=ttyS0,115200");
- if ((strstr(arcs_cmdline, "root=")) == NULL)
- strcat(arcs_cmdline, " root=/dev/hda1");
-
prom_init_machtype();
}