Path: blob/master/arch/arm/mach-pnx4008/include/mach/uncompress.h
10820 views
/*1* arch/arm/mach-pnx4008/include/mach/uncompress.h2*3* Copyright (C) 1999 ARM Limited4* Copyright (C) 2006 MontaVista Software, Inc.5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License as published by8* the Free Software Foundation; either version 2 of the License, or9* (at your option) any later version.10*11* This program is distributed in the hope that it will be useful,12* but WITHOUT ANY WARRANTY; without even the implied warranty of13* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14* GNU General Public License for more details.15*16* You should have received a copy of the GNU General Public License17* along with this program; if not, write to the Free Software18* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA19*/2021#define UART5_BASE 0x400900002223#define UART5_DR (*(volatile unsigned char *) (UART5_BASE))24#define UART5_FR (*(volatile unsigned char *) (UART5_BASE + 18))2526static __inline__ void putc(char c)27{28while (UART5_FR & (1 << 5))29barrier();3031UART5_DR = c;32}3334/*35* This does not append a newline36*/37static inline void flush(void)38{39}4041/*42* nothing to do43*/44#define arch_decomp_setup()45#define arch_decomp_wdog()464748