2 * linux/include/asm-arm/arch-nexuspci/uncompress.h
3 * from linux/include/asm-arm/arch-ebsa110/uncompress.h
5 * Copyright (C) 1996,1997,1998 Russell King
6 * Copyright (C) 1998, 1999 Phil Blundell
11 #define UARTBASE 0x00400000
14 * This does not append a newline
16 static void puts(const char *s)
21 while (!(__raw_readb(UARTBASE + 0x14) & 0x20));
22 __raw_writeb(c, UARTBASE);
24 while (!(__raw_readb(UARTBASE + 0x14) & 0x20));
25 __raw_writeb(13, UARTBASE);
33 #define arch_decomp_setup()
36 * Stroke the watchdog so we don't get reset during decompression.
38 #define arch_decomp_wdog() \
40 __raw_writel(1, 0xa00000); \
41 __raw_writel(0, 0xa00000); \