* [PATCH] ARM: davinci: remove test for undefined Kconfig macro
@ 2013-03-29 11:47 Paul Bolle
2013-03-29 12:33 ` Paul Bolle
0 siblings, 1 reply; 3+ messages in thread
From: Paul Bolle @ 2013-03-29 11:47 UTC (permalink / raw)
To: linux-arm-kernel
The DaVinci debugging macro contains a check for
CONFIG_DEBUG_DAVINCI_DA8XX_UART0. But there's 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>
---
0) Untested.
1) See commit 477099f189101a6675d93782164446015a3633bd ("ARM: davinci:
implement DEBUG_LL port choice") for the introduction of this code.
arch/arm/mach-davinci/include/mach/debug-macro.S | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-davinci/include/mach/debug-macro.S b/arch/arm/mach-davinci/include/mach/debug-macro.S
index 34290d1..b18b8eb 100644
--- a/arch/arm/mach-davinci/include/mach/debug-macro.S
+++ b/arch/arm/mach-davinci/include/mach/debug-macro.S
@@ -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)
--
1.7.11.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: davinci: remove test for undefined Kconfig macro
2013-03-29 11:47 [PATCH] ARM: davinci: remove test for undefined Kconfig macro Paul Bolle
@ 2013-03-29 12:33 ` Paul Bolle
2013-04-02 10:08 ` Sekhar Nori
0 siblings, 1 reply; 3+ messages in thread
From: Paul Bolle @ 2013-03-29 12:33 UTC (permalink / raw)
To: linux-arm-kernel
[Dropped Kevin Hilman, because Kevin's address bounces.]
On Fri, 2013-03-29 at 12:47 +0100, Paul Bolle wrote:
> The DaVinci debugging macro contains a check for
> CONFIG_DEBUG_DAVINCI_DA8XX_UART0. But there's corresponding Kconfig
[...] there's no corresponding [...]
> 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.
Paul Bolle
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: davinci: remove test for undefined Kconfig macro
2013-03-29 12:33 ` Paul Bolle
@ 2013-04-02 10:08 ` Sekhar Nori
0 siblings, 0 replies; 3+ messages in thread
From: Sekhar Nori @ 2013-04-02 10:08 UTC (permalink / raw)
To: linux-arm-kernel
On 3/29/2013 6:03 PM, Paul Bolle wrote:
> [Dropped Kevin Hilman, because Kevin's address bounces.]
Use khilman at deeprootsystems.com as updated in MAINTAINERS.
>
> On Fri, 2013-03-29 at 12:47 +0100, Paul Bolle wrote:
>> The DaVinci debugging macro contains a check for
>> CONFIG_DEBUG_DAVINCI_DA8XX_UART0. But there's corresponding Kconfig
>
> [...] there's no corresponding [...]
>
>> 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.
Queuing this for v3.10 with updated commit text indicated above.
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-02 10:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-29 11:47 [PATCH] ARM: davinci: remove test for undefined Kconfig macro Paul Bolle
2013-03-29 12:33 ` Paul Bolle
2013-04-02 10:08 ` Sekhar Nori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).