mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 02:23:16 +00:00
d1d56f8c1d
Add support for using the USB Gecko adapter as an early debugging 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: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
33 lines
764 B
C
33 lines
764 B
C
/*
|
|
* arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h
|
|
*
|
|
* udbg serial input/output routines for the USB Gecko adapter.
|
|
* 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 __USBGECKO_UDBG_H
|
|
#define __USBGECKO_UDBG_H
|
|
|
|
#ifdef CONFIG_USBGECKO_UDBG
|
|
|
|
extern void __init ug_udbg_init(void);
|
|
|
|
#else
|
|
|
|
static inline void __init ug_udbg_init(void)
|
|
{
|
|
}
|
|
|
|
#endif /* CONFIG_USBGECKO_UDBG */
|
|
|
|
void __init udbg_init_usbgecko(void);
|
|
|
|
#endif /* __USBGECKO_UDBG_H */
|