diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2009-11-21 15:34:41 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-12-16 20:57:35 -0500 |
commit | 6acc7d485c24c00e111c61b2e6dff9180faebcae (patch) | |
tree | 7c7519153775b20a87ff1a4745d16b0f1369861a /arch/mips/configs/cavium-octeon_defconfig | |
parent | de4148f3ef54b644a181ad75a6fb4b373f2b01f0 (diff) |
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/cavium-octeon_defconfig')
-rw-r--r-- | arch/mips/configs/cavium-octeon_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/configs/cavium-octeon_defconfig b/arch/mips/configs/cavium-octeon_defconfig index 22819d9c683a..c8507bc8e925 100644 --- a/arch/mips/configs/cavium-octeon_defconfig +++ b/arch/mips/configs/cavium-octeon_defconfig | |||
@@ -820,7 +820,7 @@ CONFIG_SYSCTL_SYSCALL_CHECK=y | |||
820 | # CONFIG_SAMPLES is not set | 820 | # CONFIG_SAMPLES is not set |
821 | CONFIG_HAVE_ARCH_KGDB=y | 821 | CONFIG_HAVE_ARCH_KGDB=y |
822 | # CONFIG_KGDB is not set | 822 | # CONFIG_KGDB is not set |
823 | CONFIG_CMDLINE="" | 823 | # CONFIG_CMDLINE_BOOL is not set |
824 | # CONFIG_DEBUG_STACK_USAGE is not set | 824 | # CONFIG_DEBUG_STACK_USAGE is not set |
825 | # CONFIG_RUNTIME_DEBUG is not set | 825 | # CONFIG_RUNTIME_DEBUG is not set |
826 | 826 | ||