summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-08-19 22:55:06 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-10-11 16:18:41 +0100
commite0dfb20c2b77c6626a24578240266ace928cd2e7 (patch)
tree67666f032698a62b00ee6d91328dd641abe1c498 /include
parentf96a3383cfede841cdf80a5927f14478981ed78c (diff)
downloadlwn-e0dfb20c2b77c6626a24578240266ace928cd2e7.tar.gz
lwn-e0dfb20c2b77c6626a24578240266ace928cd2e7.zip
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')
-rw-r--r--include/asm-mips/txx9/generic.h1
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 {
};
extern struct txx9_board_vec *txx9_board_vec;
extern int (*txx9_irq_dispatch)(int pending);
-void prom_init_cmdline(void);
char *prom_getcmdline(void);
void txx9_wdt_init(unsigned long base);
void txx9_spi_init(int busid, unsigned long base, int irq);