mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar7 misc fixes:
- serial - memory probing git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6635 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -258,7 +258,7 @@ char prom_getchar(void)
|
||||
|
||||
int prom_putchar(char c)
|
||||
{
|
||||
while ((serial_in(UART_LSR) & UART_LSR_THRE) == 0);
|
||||
while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0);
|
||||
serial_out(UART_TX, c);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user