diff options
-rw-r--r-- | arch/arm/plat-omap/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/uncompress.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index 64b3f52bd9b2..f348ddfb0492 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig | |||
@@ -165,7 +165,7 @@ config OMAP_DM_TIMER | |||
165 | choice | 165 | choice |
166 | prompt "Low-level debug console UART" | 166 | prompt "Low-level debug console UART" |
167 | depends on ARCH_OMAP | 167 | depends on ARCH_OMAP |
168 | default OMAP_LL_DEBUG_UART1 | 168 | default OMAP_LL_DEBUG_NONE |
169 | 169 | ||
170 | config OMAP_LL_DEBUG_UART1 | 170 | config OMAP_LL_DEBUG_UART1 |
171 | bool "UART1" | 171 | bool "UART1" |
@@ -176,6 +176,9 @@ config OMAP_LL_DEBUG_UART2 | |||
176 | config OMAP_LL_DEBUG_UART3 | 176 | config OMAP_LL_DEBUG_UART3 |
177 | bool "UART3" | 177 | bool "UART3" |
178 | 178 | ||
179 | config OMAP_LL_DEBUG_NONE | ||
180 | bool "None" | ||
181 | |||
179 | endchoice | 182 | endchoice |
180 | 183 | ||
181 | config OMAP_SERIAL_WAKE | 184 | config OMAP_SERIAL_WAKE |
diff --git a/arch/arm/plat-omap/include/plat/uncompress.h b/arch/arm/plat-omap/include/plat/uncompress.h index e22f57564b59..13c305d62127 100644 --- a/arch/arm/plat-omap/include/plat/uncompress.h +++ b/arch/arm/plat-omap/include/plat/uncompress.h | |||
@@ -44,8 +44,12 @@ static void putc(int c) | |||
44 | uart = (volatile u8 *)(OMAP_UART3_BASE); | 44 | uart = (volatile u8 *)(OMAP_UART3_BASE); |
45 | #elif defined(CONFIG_OMAP_LL_DEBUG_UART2) | 45 | #elif defined(CONFIG_OMAP_LL_DEBUG_UART2) |
46 | uart = (volatile u8 *)(OMAP_UART2_BASE); | 46 | uart = (volatile u8 *)(OMAP_UART2_BASE); |
47 | #else | 47 | #elif defined(CONFIG_OMAP_LL_DEBUG_UART1) |
48 | uart = (volatile u8 *)(OMAP_UART1_BASE); | 48 | uart = (volatile u8 *)(OMAP_UART1_BASE); |
49 | #elif defined(CONFIG_OMAP_LL_DEBUG_NONE) | ||
50 | return; | ||
51 | #else | ||
52 | return; | ||
49 | #endif | 53 | #endif |
50 | 54 | ||
51 | #ifdef CONFIG_ARCH_OMAP1 | 55 | #ifdef CONFIG_ARCH_OMAP1 |