WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / mach-iop32x / include / mach / uncompress.h
blobc8548875d94248d3469c7f1b2702440734d5c9fe
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * arch/arm/mach-iop32x/include/mach/uncompress.h
4 */
6 #include <asm/types.h>
7 #include <asm/mach-types.h>
8 #include <linux/serial_reg.h>
10 #define uart_base ((volatile u8 *)0xfe800000)
12 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
14 static inline void putc(char c)
16 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE)
17 barrier();
18 uart_base[UART_TX] = c;
21 static inline void flush(void)
25 #define arch_decomp_setup() do { } while (0)