diff options
author | Eugene Konev <ejka@openwrt.org> | 2007-03-22 16:39:07 +0000 |
---|---|---|
committer | Eugene Konev <ejka@openwrt.org> | 2007-03-22 16:39:07 +0000 |
commit | 5287693525e4a861bcbde740b96e3c96757e8a40 (patch) | |
tree | 76be211a559688e8f219b975673cc4257b56438d /target/linux/ar7-2.6/files/arch/mips/ar7/prom.c | |
parent | 216df3a30e594fd740a193445ed6516896f807a6 (diff) | |
download | upstream-5287693525e4a861bcbde740b96e3c96757e8a40.tar.gz upstream-5287693525e4a861bcbde740b96e3c96757e8a40.tar.bz2 upstream-5287693525e4a861bcbde740b96e3c96757e8a40.zip |
ar7 misc fixes:
- serial
- memory probing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6635 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/files/arch/mips/ar7/prom.c')
-rw-r--r-- | target/linux/ar7-2.6/files/arch/mips/ar7/prom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar7-2.6/files/arch/mips/ar7/prom.c b/target/linux/ar7-2.6/files/arch/mips/ar7/prom.c index 4db4303822..7176be3022 100644 --- a/target/linux/ar7-2.6/files/arch/mips/ar7/prom.c +++ b/target/linux/ar7-2.6/files/arch/mips/ar7/prom.c @@ -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; } |