The retry logic in ug_putc() is broken.
If the TX fifo is not ready and the counter runs out it will have a
value of -1 and no transfer should be attempted. Also, a counter
with a value of 0 means that the TX fifo got ready in the last try
and the transfer should be attempted.
Reported-by: "Juha Leppanen" <[email protected]>
Signed-off-by: "Juha Leppanen" <[email protected]>
Signed-off-by: Albert Herranz <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
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 <[email protected]>
Acked-by: Segher Boessenkool <[email protected]>
Signed-off-by: Grant Likely <[email protected]>