diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-08-19 09:55:06 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-11 11:18:41 -0400 |
commit | e0dfb20c2b77c6626a24578240266ace928cd2e7 (patch) | |
tree | 67666f032698a62b00ee6d91328dd641abe1c498 /include/asm-mips | |
parent | f96a3383cfede841cdf80a5927f14478981ed78c (diff) |
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>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/txx9/generic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-mips/txx9/generic.h b/include/asm-mips/txx9/generic.h index 5b1ccf901c62..c9eed7ea148c 100644 --- a/include/asm-mips/txx9/generic.h +++ b/include/asm-mips/txx9/generic.h | |||
@@ -42,7 +42,6 @@ struct txx9_board_vec { | |||
42 | }; | 42 | }; |
43 | extern struct txx9_board_vec *txx9_board_vec; | 43 | extern struct txx9_board_vec *txx9_board_vec; |
44 | extern int (*txx9_irq_dispatch)(int pending); | 44 | extern int (*txx9_irq_dispatch)(int pending); |
45 | void prom_init_cmdline(void); | ||
46 | char *prom_getcmdline(void); | 45 | char *prom_getcmdline(void); |
47 | void txx9_wdt_init(unsigned long base); | 46 | void txx9_wdt_init(unsigned long base); |
48 | void txx9_spi_init(int busid, unsigned long base, int irq); | 47 | void txx9_spi_init(int busid, unsigned long base, int irq); |