Files
android_kernel_xiaomi_sm8450/arch/mips/kernel
Dmitri Vorobiev 6acc7d485c 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>
2009-12-17 01:57:35 +00:00
..
2008-05-01 08:03:58 -07:00
2009-12-10 15:02:50 +01:00
2009-12-11 06:44:29 -05:00
2009-08-03 17:52:40 +01:00
2009-07-12 12:22:34 -07:00
2006-12-10 21:52:11 +00:00
2009-09-30 21:47:02 +02:00
2009-06-24 18:34:40 +01:00
2009-12-17 01:57:30 +00:00
2009-11-02 12:00:02 +01:00