]> 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)
commit7ceffaf5560f135bdeb05d8f3da816ab126a7329
tree42a58be90dd95cd4f2f9667a011191432047ed9f
parent5814fa25b9c52745584a3a8efc4c62db568b4c87
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