1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/arm/mach-iop32x/include/mach/uncompress.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
)
18 uart_base
[UART_TX
] = c
;
21 static inline void flush(void)
25 #define arch_decomp_setup() do { } while (0)