| .. | .. |
|---|
| 6 | 6 | #include <asm/types.h> |
|---|
| 7 | 7 | #include <asm/mach-types.h> |
|---|
| 8 | 8 | #include <linux/serial_reg.h> |
|---|
| 9 | | -#include <mach/hardware.h> |
|---|
| 10 | 9 | |
|---|
| 11 | | -volatile u8 *uart_base; |
|---|
| 10 | +#define uart_base ((volatile u8 *)0xfe800000) |
|---|
| 12 | 11 | |
|---|
| 13 | 12 | #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE) |
|---|
| 14 | 13 | |
|---|
| .. | .. |
|---|
| 23 | 22 | { |
|---|
| 24 | 23 | } |
|---|
| 25 | 24 | |
|---|
| 26 | | -static __inline__ void __arch_decomp_setup(unsigned long arch_id) |
|---|
| 27 | | -{ |
|---|
| 28 | | - if (machine_is_iq80321()) |
|---|
| 29 | | - uart_base = (volatile u8 *)IQ80321_UART; |
|---|
| 30 | | - else if (machine_is_iq31244() || machine_is_em7210()) |
|---|
| 31 | | - uart_base = (volatile u8 *)IQ31244_UART; |
|---|
| 32 | | - else |
|---|
| 33 | | - uart_base = (volatile u8 *)0xfe800000; |
|---|
| 34 | | -} |
|---|
| 35 | | - |
|---|
| 36 | | -/* |
|---|
| 37 | | - * nothing to do |
|---|
| 38 | | - */ |
|---|
| 39 | | -#define arch_decomp_setup() __arch_decomp_setup(arch_id) |
|---|
| 25 | +#define arch_decomp_setup() do { } while (0) |
|---|