]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcaf38a0b97157abaf79ee57aea6b2c82dea6710f
tree42a58be90dd95cd4f2f9667a011191432047ed9f
parentf8e75d5a8b3e5f661e4d08f16888dda7555f19f1
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