]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ARM: davinci: remove test for undefined Kconfig macro
authorPaul Bolle <pebolle@tiscali.nl>
Fri, 29 Mar 2013 11:47:35 +0000 (12:47 +0100)
committerSekhar Nori <nsekhar@ti.com>
Wed, 3 Apr 2013 04:13:08 +0000 (09:43 +0530)
The DaVinci debugging macro contains a check for
CONFIG_DEBUG_DAVINCI_DA8XX_UART0. But there's no corresponding Kconfig
symbol, so this test will always evaluate to false. That Kconfig symbol
is not needed because, as __arch_decomp_setup() shows, there are no
DaVinci DA8XX boards that use UART0 for debugging. We can remove two
lines of unneeded code.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/include/mach/debug-macro.S

index 34290d14754b41b827208528c1a317e5d5fa62b3..b18b8ebc650881b4f45a10f8facb14cbb8984377 100644 (file)
@@ -24,8 +24,6 @@
 
 #if defined(CONFIG_DEBUG_DAVINCI_DMx_UART0)
 #define UART_BASE      DAVINCI_UART0_BASE
-#elif defined(CONFIG_DEBUG_DAVINCI_DA8XX_UART0)
-#define UART_BASE      DA8XX_UART0_BASE
 #elif defined(CONFIG_DEBUG_DAVINCI_DA8XX_UART1)
 #define UART_BASE      DA8XX_UART1_BASE
 #elif defined(CONFIG_DEBUG_DAVINCI_DA8XX_UART2)