MIPS: Make the kernel arguments from dtb available
authorJonas Gorski <jogo@openwrt.org>
Mon, 12 Oct 2015 11:13:02 +0000 (13:13 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 11 Nov 2015 07:38:34 +0000 (08:38 +0100)
commit2024972ef5330dcae47f400c586764d8f4cb0b04
treeb57b861541bfc09ac5200ecf3bced6c8e15309e7
parent5b24d52ce23d1c7a5c2bd884e57463e266eb8b85
MIPS: Make the kernel arguments from dtb available

Similar to how arm allows using selecting between bootloader arguments,
dtb arguments and both, allow to select them on mips. But since we have
less control over the place of the dtb do not modify it but instead use
the boot_command_line for merging them.

The default is "use bootloader arguments" to keep the current behaviour
as default.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: Ganesan Ramalingam <ganesanr@broadcom.com>
Cc: Jayachandran C <jchandra@broadcom.com>
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: James Hartley <james.hartley@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/11284/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/setup.c