diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-08-19 09:55:07 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-11 11:18:42 -0400 |
commit | 265b89db1058124ddbf0091ba3f8c020e3a5ae9d (patch) | |
tree | ed7e4a4d78f7d4f32c4b6b467af617479ff5f90e /include/asm-mips | |
parent | e0dfb20c2b77c6626a24578240266ace928cd2e7 (diff) |
MIPS: TXx9: Add prom_getenv
Add prom_getenv() which can be used for YAMON. This assumes other
firmware should pass NULL for fw_arg2.
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, 1 insertions, 0 deletions
diff --git a/include/asm-mips/txx9/generic.h b/include/asm-mips/txx9/generic.h index c9eed7ea148c..0a225bf73496 100644 --- a/include/asm-mips/txx9/generic.h +++ b/include/asm-mips/txx9/generic.h | |||
@@ -43,6 +43,7 @@ struct txx9_board_vec { | |||
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 | char *prom_getcmdline(void); | 45 | char *prom_getcmdline(void); |
46 | const char *prom_getenv(const char *name); | ||
46 | void txx9_wdt_init(unsigned long base); | 47 | void txx9_wdt_init(unsigned long base); |
47 | void txx9_spi_init(int busid, unsigned long base, int irq); | 48 | void txx9_spi_init(int busid, unsigned long base, int irq); |
48 | void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr); | 49 | void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr); |