diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-03-13 14:09:34 -0400 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2015-03-27 12:31:02 -0400 |
commit | c0c89fafa289ea241ba3fb22d6f583f8089a719e (patch) | |
tree | 43e48055d1330a7fece805554b87f372d63e718d /arch/arm/include | |
parent | 9eccca0843205f87c00404b663188b88eb248051 (diff) |
ARM: Remove mach-msm and associated ARM architecture code
The maintainers for mach-msm no longer have any plans to support
or test the platforms supported by this architecture[1]. Most likely
there aren't any active users of this code anyway, so let's
delete it.
[1] http://lkml.kernel.org/r/20150307031212.GA8434@fifo99.com
Cc: David Brown <davidb@codeaurora.org>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/debug/msm.S | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/include/debug/msm.S b/arch/arm/include/debug/msm.S index e55a9426b496..b03024fa671f 100644 --- a/arch/arm/include/debug/msm.S +++ b/arch/arm/include/debug/msm.S | |||
@@ -16,24 +16,17 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | .macro addruart, rp, rv, tmp | 18 | .macro addruart, rp, rv, tmp |
19 | #ifdef CONFIG_DEBUG_UART_PHYS | ||
20 | ldr \rp, =CONFIG_DEBUG_UART_PHYS | 19 | ldr \rp, =CONFIG_DEBUG_UART_PHYS |
21 | ldr \rv, =CONFIG_DEBUG_UART_VIRT | 20 | ldr \rv, =CONFIG_DEBUG_UART_VIRT |
22 | #endif | ||
23 | .endm | 21 | .endm |
24 | 22 | ||
25 | .macro senduart, rd, rx | 23 | .macro senduart, rd, rx |
26 | ARM_BE8(rev \rd, \rd ) | 24 | ARM_BE8(rev \rd, \rd ) |
27 | #ifdef CONFIG_DEBUG_QCOM_UARTDM | ||
28 | @ Write the 1 character to UARTDM_TF | 25 | @ Write the 1 character to UARTDM_TF |
29 | str \rd, [\rx, #0x70] | 26 | str \rd, [\rx, #0x70] |
30 | #else | ||
31 | str \rd, [\rx, #0x0C] | ||
32 | #endif | ||
33 | .endm | 27 | .endm |
34 | 28 | ||
35 | .macro waituart, rd, rx | 29 | .macro waituart, rd, rx |
36 | #ifdef CONFIG_DEBUG_QCOM_UARTDM | ||
37 | @ check for TX_EMT in UARTDM_SR | 30 | @ check for TX_EMT in UARTDM_SR |
38 | ldr \rd, [\rx, #0x08] | 31 | ldr \rd, [\rx, #0x08] |
39 | ARM_BE8(rev \rd, \rd ) | 32 | ARM_BE8(rev \rd, \rd ) |
@@ -55,13 +48,6 @@ ARM_BE8(rev \rd, \rd ) | |||
55 | str \rd, [\rx, #0x40] | 48 | str \rd, [\rx, #0x40] |
56 | @ UARTDM reg. Read to induce delay | 49 | @ UARTDM reg. Read to induce delay |
57 | ldr \rd, [\rx, #0x08] | 50 | ldr \rd, [\rx, #0x08] |
58 | #else | ||
59 | @ wait for TX_READY | ||
60 | 1001: ldr \rd, [\rx, #0x08] | ||
61 | ARM_BE8(rev \rd, \rd ) | ||
62 | tst \rd, #0x04 | ||
63 | beq 1001b | ||
64 | #endif | ||
65 | .endm | 51 | .endm |
66 | 52 | ||
67 | .macro busyuart, rd, rx | 53 | .macro busyuart, rd, rx |