Path: blob/master/arch/arm/mach-footbridge/include/mach/uncompress.h
17769 views
/*1* arch/arm/mach-footbridge/include/mach/uncompress.h2*3* Copyright (C) 1996-1999 Russell King4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*/9#include <asm/mach-types.h>1011/*12* Note! This could cause problems on the NetWinder13*/14#define DC21285_BASE ((volatile unsigned int *)0x42000160)15#define SER0_BASE ((volatile unsigned char *)0x7c0003f8)1617static inline void putc(char c)18{19if (machine_is_netwinder()) {20while ((SER0_BASE[5] & 0x60) != 0x60)21barrier();22SER0_BASE[0] = c;23} else {24while (DC21285_BASE[6] & 8);25DC21285_BASE[0] = c;26}27}2829static inline void flush(void)30{31}3233/*34* nothing to do35*/36#define arch_decomp_setup()37#define arch_decomp_wdog()383940