MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-arm / arch-moxacpu / uncompress.c
blob4ef466df2da201bcddddd0bcc36b669781fe215b
1 #ifdef not_complete_yet
2 /*
3 * linux/include/asm/arch-samsung/uncompress.c
4 * 2001 Mac Wang <mac@os.nctu.edu.tw>
5 */
7 #include <asm/hardware.h>
9 static int s3c4510b_decomp_setup()
11 CSR_WRITE(DEBUG_UARTLCON_BASE, DEBUG_ULCON_REG_VAL);
12 CSR_WRITE(DEBUG_UARTCONT_BASE, DEBUG_UCON_REG_VAL);
13 CSR_WRITE(DEBUG_UARTBRD_BASE, DEBUG_UBRDIV_REG_VAL);
16 static int s3c4510b_putc(char c)
18 CSR_WRITE(DEBUG_TX_BUFF_BASE, c);
19 while(!(CSR_READ(DEBUG_CHK_STAT_BASE) & DEBUG_TX_DONE_CHECK_BIT));
21 if(c == '\n')
22 s3c4510b_putc('\r');
25 static void s3c4510b_puts(const char *s)
27 while(*s != '\0')
28 s3c4510b_putc(*s++);
31 #endif /* end_of_not */