diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2002-02-25 22:25:38 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2002-02-25 22:25:38 +0000 |
| commit | b7783fa9871f201a1d1951b2da2d8b820a8466ba (patch) | |
| tree | ddc64e042fd437ed608b5047de84170d5b57627d /include | |
| parent | 3991853c68cc42b2b590b0e3a92190b283d10e7a (diff) | |
EPXA10DB/Camelot ARM machine updates.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-arm/arch-epxa10db/uncompress.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/asm-arm/arch-epxa10db/uncompress.h b/include/asm-arm/arch-epxa10db/uncompress.h index 0b037724249c..f30a31fa5270 100644 --- a/include/asm-arm/arch-epxa10db/uncompress.h +++ b/include/asm-arm/arch-epxa10db/uncompress.h @@ -29,14 +29,18 @@ static void puts(const char *s) { while (*s) { - while ((*UART_TSR(IO_ADDRESS(EXC_UART00_BASE)) & UART_TSR_TX_LEVEL_MSK)==15); + while ((*UART_TSR(EXC_UART00_BASE) & + UART_TSR_TX_LEVEL_MSK)==15) + barrier(); - *UART_TD(IO_ADDRESS(EXC_UART00_BASE)) = *s; + *UART_TD(EXC_UART00_BASE) = *s; if (*s == '\n') { - while ((*UART_TSR(IO_ADDRESS(EXC_UART00_BASE)) & UART_TSR_TX_LEVEL_MSK)==15); + while ((*UART_TSR(EXC_UART00_BASE) & + UART_TSR_TX_LEVEL_MSK)==15) + barrier(); - *UART_TD(IO_ADDRESS(EXC_UART00_BASE)) = '\r'; + *UART_TD(EXC_UART00_BASE) = '\r'; } s++; } |
