[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
This just leaves include/asm-arm/plat-* to deal with. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
a1b81a84ff
commit
a09e64fbc0
23
arch/arm/mach-iop13xx/include/mach/uncompress.h
Normal file
23
arch/arm/mach-iop13xx/include/mach/uncompress.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <asm/types.h>
|
||||
#include <linux/serial_reg.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
#define UART_BASE ((volatile u32 *)IOP13XX_UART1_PHYS)
|
||||
#define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
|
||||
|
||||
static inline void putc(char c)
|
||||
{
|
||||
while ((UART_BASE[UART_LSR] & TX_DONE) != TX_DONE)
|
||||
barrier();
|
||||
UART_BASE[UART_TX] = c;
|
||||
}
|
||||
|
||||
static inline void flush(void)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* nothing to do
|
||||
*/
|
||||
#define arch_decomp_setup()
|
||||
#define arch_decomp_wdog()
|
Reference in New Issue
Block a user