MIPS: Add support for extending builtin cmdline
authorRabin Vincent <rabinv@axis.com>
Thu, 28 Apr 2016 09:03:09 +0000 (11:03 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:21 +0000 (14:02 +0200)
commited47e1533292e26baaec1b5ed7d425690289d5df
tree42a58be90dd95cd4f2f9667a011191432047ed9f
parente54ad8c56258af3b414a3e5707a45c18f1db69e1
MIPS: Add support for extending builtin cmdline

Allow the builtin command line to be extended by what the bootloader
passes in.  For example, the bootloader can pass specific arguments
depending on the boot mode, and these should override the defaults in
the builtin cmdline.

The default MIPS_CMDLINE_FROM_BOOTLOADER option prepends the
bootloader's cmdline to the builtin cmdline so is not suitable for this
purpose.

Signed-off-by: Rabin Vincent <rabinv@axis.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13181/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/setup.c