MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-s3c44b0x / uncompress.c
blob886515561ba9d24ec8cabae8ff895f4ba23a0cf7
1 /*
2 * linux/include/asm/arch-samsung/uncompress.c
3 */
5 #include <asm/hardware.h>
7 static int s3c44b0x_decomp_setup()
11 static int s3c44b0x_putc(char c)
13 while (!(SYSREG_GET(S3C44B0X_UTRSTAT0) & 0x2));
14 SYSREG_SETB(S3C44B0X_UTXH0, c);
15 if(c == '\n')
16 s3c44b0x_putc('\r');
19 static void s3c44b0x_puts(const char *s)
21 while(*s != '\0')
22 s3c44b0x_putc(*s++);