3 * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
4 * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
8 * The code contained herein is licensed under the GNU General Public
9 * License. You may obtain a copy of the GNU General Public License
10 * Version 2 or later at the following locations:
12 * http://www.opensource.org/licenses/gpl-license.html
13 * http://www.gnu.org/copyleft/gpl.html
15 #ifndef __ASM_PLAT_UNCOMPRESS_H
16 #define __ASM_PLAT_UNCOMPRESS_H
19 * Register includes are for when the MMU enabled; we need to define our
20 * own stuff here for pre-MMU use
22 #define UARTDBG_BASE 0x80070000
23 #define UART(c) (((volatile unsigned *)UARTDBG_BASE)[c])
26 * This does not append a newline
28 static void putc(char c
)
30 /* Wait for TX fifo empty */
31 while ((UART(6) & (1<<7)) == 0)
37 /* Wait for last bit to exit the UART */
38 while (UART(6) & (1<<3))
42 static void flush(void)
49 #define arch_decomp_setup()
51 #define arch_decomp_wdog()
53 #endif /* __ASM_PLAT_UNCOMPRESS_H */