diff options
-rw-r--r-- | arch/arm/mach-ep93xx/Kconfig | 14 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/include/mach/uncompress.h | 14 |
2 files changed, 2 insertions, 26 deletions
diff --git a/arch/arm/mach-ep93xx/Kconfig b/arch/arm/mach-ep93xx/Kconfig index fe3c1fa5462b..93e54fd4e3d5 100644 --- a/arch/arm/mach-ep93xx/Kconfig +++ b/arch/arm/mach-ep93xx/Kconfig | |||
@@ -194,20 +194,6 @@ config MACH_VISION_EP9307 | |||
194 | Say 'Y' here if you want your kernel to support the | 194 | Say 'Y' here if you want your kernel to support the |
195 | Vision Engraving Systems EP9307 SoM. | 195 | Vision Engraving Systems EP9307 SoM. |
196 | 196 | ||
197 | choice | ||
198 | prompt "Select a UART for early kernel messages" | ||
199 | |||
200 | config EP93XX_EARLY_UART1 | ||
201 | bool "UART1" | ||
202 | |||
203 | config EP93XX_EARLY_UART2 | ||
204 | bool "UART2" | ||
205 | |||
206 | config EP93XX_EARLY_UART3 | ||
207 | bool "UART3" | ||
208 | |||
209 | endchoice | ||
210 | |||
211 | endmenu | 197 | endmenu |
212 | 198 | ||
213 | endif | 199 | endif |
diff --git a/arch/arm/mach-ep93xx/include/mach/uncompress.h b/arch/arm/mach-ep93xx/include/mach/uncompress.h index b5cc77d2380b..03c42e5400d2 100644 --- a/arch/arm/mach-ep93xx/include/mach/uncompress.h +++ b/arch/arm/mach-ep93xx/include/mach/uncompress.h | |||
@@ -31,18 +31,8 @@ static void __raw_writel(unsigned int value, unsigned int ptr) | |||
31 | *((volatile unsigned int *)ptr) = value; | 31 | *((volatile unsigned int *)ptr) = value; |
32 | } | 32 | } |
33 | 33 | ||
34 | #if defined(CONFIG_EP93XX_EARLY_UART1) | 34 | #define PHYS_UART_DATA (CONFIG_DEBUG_UART_PHYS + 0x00) |
35 | #define UART_BASE EP93XX_UART1_PHYS_BASE | 35 | #define PHYS_UART_FLAG (CONFIG_DEBUG_UART_PHYS + 0x18) |
36 | #elif defined(CONFIG_EP93XX_EARLY_UART2) | ||
37 | #define UART_BASE EP93XX_UART2_PHYS_BASE | ||
38 | #elif defined(CONFIG_EP93XX_EARLY_UART3) | ||
39 | #define UART_BASE EP93XX_UART3_PHYS_BASE | ||
40 | #else | ||
41 | #define UART_BASE EP93XX_UART1_PHYS_BASE | ||
42 | #endif | ||
43 | |||
44 | #define PHYS_UART_DATA (UART_BASE + 0x00) | ||
45 | #define PHYS_UART_FLAG (UART_BASE + 0x18) | ||
46 | #define UART_FLAG_TXFF 0x20 | 36 | #define UART_FLAG_TXFF 0x20 |
47 | 37 | ||
48 | static inline void putc(int c) | 38 | static inline void putc(int c) |