git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-arm
/
arch-l7200
/
uncompress.h
diff --git
a/include/asm-arm/arch-l7200/uncompress.h
b/include/asm-arm/arch-l7200/uncompress.h
index
d7ac5f6
..
04be2a0
100644
(file)
--- a/
include/asm-arm/arch-l7200/uncompress.h
+++ b/
include/asm-arm/arch-l7200/uncompress.h
@@
-6,7
+6,7
@@
* Changelog:
* 05-01-2000 SJH Created
* 05-13-2000 SJH Filled in function bodies
* Changelog:
* 05-01-2000 SJH Created
* 05-13-2000 SJH Filled in function bodies
- * 07-26-2000 SJH Removed hard coded b
ua
d rate
+ * 07-26-2000 SJH Removed hard coded b
au
d rate
*/
#include <asm/hardware.h>
*/
#include <asm/hardware.h>
@@
-16,22
+16,17
@@
#define __raw_writeb(v,p) (*(volatile unsigned char *)(p) = (v))
#define __raw_readb(p) (*(volatile unsigned char *)(p))
#define __raw_writeb(v,p) (*(volatile unsigned char *)(p) = (v))
#define __raw_readb(p) (*(volatile unsigned char *)(p))
-static
__inline__ void putc(char
c)
+static
inline void putc(int
c)
{
while(__raw_readb(IO_UART + 0x18) & 0x20 ||
{
while(__raw_readb(IO_UART + 0x18) & 0x20 ||
- __raw_readb(IO_UART + 0x18) & 0x08);
+ __raw_readb(IO_UART + 0x18) & 0x08)
+ barrier();
+
__raw_writeb(c, IO_UART + 0x00);
}
__raw_writeb(c, IO_UART + 0x00);
}
-static
void puts(const char *s
)
+static
inline void flush(void
)
{
{
- while (*s) {
- if (*s == 10) { /* If a LF, add CR */
- putc(10);
- putc(13);
- }
- putc(*(s++));
- }
}
static __inline__ void arch_decomp_setup(void)
}
static __inline__ void arch_decomp_setup(void)