diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-pxa/uncompress.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/asm-arm/arch-pxa/uncompress.h b/include/asm-arm/arch-pxa/uncompress.h index dadf4c20b622..f4551269aaf2 100644 --- a/include/asm-arm/arch-pxa/uncompress.h +++ b/include/asm-arm/arch-pxa/uncompress.h | |||
@@ -11,11 +11,11 @@ | |||
11 | 11 | ||
12 | #include <linux/serial_reg.h> | 12 | #include <linux/serial_reg.h> |
13 | #include <asm/arch/pxa-regs.h> | 13 | #include <asm/arch/pxa-regs.h> |
14 | #include <asm/mach-types.h> | ||
14 | 15 | ||
15 | #define __REG(x) ((volatile unsigned long *)x) | 16 | #define __REG(x) ((volatile unsigned long *)x) |
16 | |||
17 | #define UART FFUART | ||
18 | 17 | ||
18 | static volatile unsigned long *UART = FFUART; | ||
19 | 19 | ||
20 | static inline void putc(char c) | 20 | static inline void putc(char c) |
21 | { | 21 | { |
@@ -33,8 +33,13 @@ static inline void flush(void) | |||
33 | { | 33 | { |
34 | } | 34 | } |
35 | 35 | ||
36 | static inline void arch_decomp_setup(void) | ||
37 | { | ||
38 | if (machine_is_littleton()) | ||
39 | UART = STUART; | ||
40 | } | ||
41 | |||
36 | /* | 42 | /* |
37 | * nothing to do | 43 | * nothing to do |
38 | */ | 44 | */ |
39 | #define arch_decomp_setup() | ||
40 | #define arch_decomp_wdog() | 45 | #define arch_decomp_wdog() |