summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/ugecon.h
diff options
context:
space:
mode:
authorAlbert Herranz <albert_herranz@yahoo.es>2009-12-12 09:31:34 +0300
committerGrant Likely <grant.likely@secretlab.ca>2009-12-13 08:24:26 +0300
commit26054c9541ccc562e0aec05e8c1f19bf85328bcf (patch)
tree9d90f161aa2e6b4f4417dd919d2afde6655859c8 /arch/powerpc/boot/ugecon.h
parent22763c5cf3690a681551162c15d34d935308c8d7 (diff)
downloadlinux-26054c9541ccc562e0aec05e8c1f19bf85328bcf.tar.xz
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.h24
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 000000000000..43737539169b
--- /dev/null
+++ b/arch/powerpc/boot/ugecon.h
@@ -0,0 +1,24 @@
+/*
+ * arch/powerpc/boot/ugecon.h
+ *
+ * USB Gecko early bootwrapper console.
+ * Copyright (C) 2008-2009 The GameCube Linux Team
+ * Copyright (C) 2008,2009 Albert Herranz
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ */
+
+#ifndef __UGECON_H
+#define __UGECON_H
+
+extern void *ug_probe(void);
+
+extern void ug_putc(char ch);
+extern void ug_console_write(const char *buf, int len);
+
+#endif /* __UGECON_H */
+