summaryrefslogtreecommitdiffstats
path: root/arch/mips/configs/bcm63xx_defconfig
diff options
context:
space:
mode:
authorDmitri Vorobiev2009-11-21 21:34:41 +0100
committerRalf Baechle2009-12-17 02:57:35 +0100
commit6acc7d485c24c00e111c61b2e6dff9180faebcae (patch)
tree7c7519153775b20a87ff1a4745d16b0f1369861a /arch/mips/configs/bcm63xx_defconfig
parentMIPS: eXcite: Remove platform. (diff)
downloadkernel-qcow2-linux-6acc7d485c24c00e111c61b2e6dff9180faebcae.tar.gz
kernel-qcow2-linux-6acc7d485c24c00e111c61b2e6dff9180faebcae.tar.xz
kernel-qcow2-linux-6acc7d485c24c00e111c61b2e6dff9180faebcae.zip
MIPS: Fix and enhance built-in kernel command line
Currently, MIPS kernels silently overwrite kernel command-line parameters hardcoded in CONFIG_CMDLINE by the ones received from firmware. Therefore, using firmware remains the only reliable method to transfer the command-line parameters, which is not always desirable or convenient, and the CONFIG_CMDLINE option is thereby effectively rendered useless. This patch fixes the problem described above and introduces a more flexible scheme of handling the kernel command line, in a manner identical to what is currently used for x86. The default behavior, i.e. when CONFIG_CMDLINE_BOOL is not defined, retains the existing semantics, and firmware command-line arguments override the hardcoded ones. [Ralf: I fixed up all the defconfig files so the stay unaffected by this change.] Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/689/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/configs/bcm63xx_defconfig')
-rw-r--r--arch/mips/configs/bcm63xx_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/configs/bcm63xx_defconfig b/arch/mips/configs/bcm63xx_defconfig
index efa65982239e..7fee0273c829 100644
--- a/arch/mips/configs/bcm63xx_defconfig
+++ b/arch/mips/configs/bcm63xx_defconfig
@@ -941,7 +941,9 @@ CONFIG_TRACING_SUPPORT=y
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
+CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=ttyS0,115200"
+# CONFIG_CMDLINE_OVERRIDE is not set
#
# Security options