diff options
author | Albert Herranz <albert_herranz@yahoo.es> | 2009-12-12 01:31:34 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-12-13 00:24:26 -0500 |
commit | 26054c9541ccc562e0aec05e8c1f19bf85328bcf (patch) | |
tree | 9d90f161aa2e6b4f4417dd919d2afde6655859c8 /arch/powerpc/boot/ugecon.h | |
parent | 22763c5cf3690a681551162c15d34d935308c8d7 (diff) |
powerpc: gamecube/wii: usbgecko bootwrapper console support
Add support for using the USB Gecko adapter as a bootwrapper console on
the Nintendo GameCube and Wii video game consoles.
The USB Gecko is a 3rd party memory card interface adapter that provides
a EXI (External Interface) to USB serial converter.
Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/boot/ugecon.h')
-rw-r--r-- | arch/powerpc/boot/ugecon.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/powerpc/boot/ugecon.h b/arch/powerpc/boot/ugecon.h new file mode 100644 index 00000000000..43737539169 --- /dev/null +++ b/arch/powerpc/boot/ugecon.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | * arch/powerpc/boot/ugecon.h | ||
3 | * | ||
4 | * USB Gecko early bootwrapper console. | ||
5 | * Copyright (C) 2008-2009 The GameCube Linux Team | ||
6 | * Copyright (C) 2008,2009 Albert Herranz | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License | ||
10 | * as published by the Free Software Foundation; either version 2 | ||
11 | * of the License, or (at your option) any later version. | ||
12 | * | ||
13 | */ | ||
14 | |||
15 | #ifndef __UGECON_H | ||
16 | #define __UGECON_H | ||
17 | |||
18 | extern void *ug_probe(void); | ||
19 | |||
20 | extern void ug_putc(char ch); | ||
21 | extern void ug_console_write(const char *buf, int len); | ||
22 | |||
23 | #endif /* __UGECON_H */ | ||
24 | |||