MIPS: TXx9: Improve handling of built-in and command-line args
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 19 Aug 2008 13:55:06 +0000 (22:55 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 11 Oct 2008 15:18:41 +0000 (16:18 +0100)
commite0dfb20c2b77c6626a24578240266ace928cd2e7
tree67666f032698a62b00ee6d91328dd641abe1c498
parentf96a3383cfede841cdf80a5927f14478981ed78c
MIPS: TXx9: Improve handling of built-in and command-line args

* Make prom_init_cmdline() static and be called from prom_init.
* Append built-in args if the first character was '+'.
* Drop command-line args if the first character of built-in was '-'.
* Enclose args include spaces by quotes.
* TX4938_NAND_BOOT is no longer needed.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/txx9/Kconfig
arch/mips/txx9/generic/setup.c
arch/mips/txx9/jmr3927/prom.c
arch/mips/txx9/rbtx4927/prom.c
arch/mips/txx9/rbtx4938/prom.c
include/asm-mips/txx9/generic.h