linux/arch/mips/configs
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
..
ar7_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
bcm47xx_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
bcm63xx_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
bigsur_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
capcella_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
cavium-octeon_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
cobalt_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
db1000_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
db1100_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
db1200_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
db1500_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
db1550_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
decstation_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
e55_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
fuloong2e_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
ip22_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
ip27_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
ip28_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
ip32_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
jazz_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
jmr3927_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
lasat_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
lemote2f_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
malta_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
markeins_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
mipssim_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
mpc30x_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
msp71xx_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
mtx1_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
pb1100_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
pb1500_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
pb1550_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
pnx8335-stb225_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
pnx8550-jbs_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
pnx8550-stb810_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
powertv_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
rb532_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
rbtx49xx_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
rm200_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
sb1250-swarm_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
tb0219_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
tb0226_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
tb0287_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
workpad_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
wrppmc_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00
yosemite_defconfig MIPS: Fix and enhance built-in kernel command line 2009-12-17 01:57:35 +00:00