diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2011-12-05 13:27:42 -0500 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2012-05-11 14:08:34 -0400 |
commit | c97d9320c669d63b8c0bcd1c1b203af98d8aa34e (patch) | |
tree | 9993a827266dac4305bdfdf8c5640e51e0fdd04a /arch/arm/mach-msm/include/mach | |
parent | 0034102808e0dbbf3a2394b82b1bb40b5778de9e (diff) |
ARM: msm: Drop useless teq from DEBUG_LL support
This teq was first introduced in bcc0f6a ([ARM] msm: clean up
iomap and devices, 2008-09-10). It seems that DEBUG_LL support on
MSM at the time had to remove the virtual mapping for the uart
base. Thus when the MMU was enabled the addruart macro returned 0
and the senduart macro would test for 0 and do nothing. It was a
simple way to turn off DEBUG_LL when the MMU was enabled.
The virtual mapping was added back in 6339f66 (msm: make
debugging UART (for DEBUG_LL) configurable, 2009-11-02) but the
patch forgot to remove the teq here. So as it stands the teq has
been useless for two years and DEBUG_LL works fine without it.
Cc: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/include/mach')
-rw-r--r-- | arch/arm/mach-msm/include/mach/debug-macro.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/include/mach/debug-macro.S b/arch/arm/mach-msm/include/mach/debug-macro.S index 3ffd8668c9a5..0e05f88abcd5 100644 --- a/arch/arm/mach-msm/include/mach/debug-macro.S +++ b/arch/arm/mach-msm/include/mach/debug-macro.S | |||
@@ -30,8 +30,7 @@ | |||
30 | @ Write the 1 character to UARTDM_TF | 30 | @ Write the 1 character to UARTDM_TF |
31 | str \rd, [\rx, #0x70] | 31 | str \rd, [\rx, #0x70] |
32 | #else | 32 | #else |
33 | teq \rx, #0 | 33 | str \rd, [\rx, #0x0C] |
34 | strne \rd, [\rx, #0x0C] | ||
35 | #endif | 34 | #endif |
36 | .endm | 35 | .endm |
37 | 36 | ||