Linux Audio

Check our new training course

Embedded Linux Audio

Check our new training course
with Creative Commons CC-BY-SA
lecture materials

Bootlin logo

Elixir Cross Referencer

Loading...
/*
 * linux/include/asm-arm/arch-ebsa285/uncompress.h
 *
 * Copyright (C) 1996,1997,1998 Russell King
 */

/*
 * Note! This could cause problems on the NetWinder
 */
#define BASE 0x42000160

static __inline__ void putc(char c)
{
	while (*((volatile unsigned int *)(BASE + 0x18)) & 8);
	*((volatile unsigned int *)(BASE)) = c;
}

/*
 * This does not append a newline
 */
static void puts(const char *s)
{
	while (*s) {
		putc(*s);
		if (*s == '\n')
			putc('\r');
		s++;
	}
}

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