[ARM] 3424/2: ixp23xx: fix uncompress.h for recent CRLF decompressor change

Patch from Lennert Buytenhek

Adapt ixp23xx uncompress.h to a081568d7016061ed848696984e3acf1ba0b3054.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Lennert Buytenhek and committed by Russell King cc3d48db fd88dd74

+3 -8
+3 -8
include/asm-arm/arch-ixp23xx/uncompress.h
··· 16 16 17 17 #define UART_BASE ((volatile u32 *)IXP23XX_UART1_PHYS) 18 18 19 - static __inline__ void putc(char c) 19 + static inline void putc(char c) 20 20 { 21 21 int j; 22 22 23 23 for (j = 0; j < 0x1000; j++) { 24 24 if (UART_BASE[UART_LSR] & UART_LSR_THRE) 25 25 break; 26 + barrier(); 26 27 } 27 28 28 29 UART_BASE[UART_TX] = c; 29 30 } 30 31 31 - static void putstr(const char *s) 32 + static inline void flush(void) 32 33 { 33 - while (*s) { 34 - putc(*s); 35 - if (*s == '\n') 36 - putc('\r'); 37 - s++; 38 - } 39 34 } 40 35 41 36 #define arch_decomp_setup()