linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-arm / arch-pxa / uncompress.h
index 178aa2e..fe38090 100644 (file)
 #define UART           FFUART
 
 
-static inline void putc(char c)
+static __inline__ void putc(char c)
 {
-       while (!(UART[5] & 0x20))
-               barrier();
+       while (!(UART[5] & 0x20));
        UART[0] = c;
 }
 
 /*
  * This does not append a newline
  */
-static inline void flush(void)
+static void putstr(const char *s)
 {
+       while (*s) {
+               putc(*s);
+               if (*s == '\n')
+                       putc('\r');
+               s++;
+       }
 }
 
 /*