[BACK]Return to uncompress.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-arm / arch-iop13xx

File: [Development] / linux-2.6-xfs / include / asm-arm / arch-iop13xx / Attic / uncompress.h (download)

Revision 1.1, Tue Jan 16 14:53:53 2007 UTC (10 years, 9 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN

Merge of 2.6.x-xfs-melb:linux:27933a by kenmcd.

  Merge up to 2.6.20-rc4

#include <asm/types.h>
#include <linux/serial_reg.h>
#include <asm/hardware.h>
#include <asm/processor.h>

#define UART_BASE ((volatile u32 *)IOP13XX_UART1_PHYS)
#define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)

static inline void putc(char c)
{
	while ((UART_BASE[UART_LSR] & TX_DONE) != TX_DONE)
		cpu_relax();
	UART_BASE[UART_TX] = c;
}

static inline void flush(void)
{
}

/*
 * nothing to do
 */
#define arch_decomp_setup()
#define arch_decomp_wdog()