diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-03-19 13:52:14 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-03-25 12:29:40 +0100 |
commit | 67bdb28718ae6dbdfbfa541161529acfa0f3c137 (patch) | |
tree | 7d0bcbc52c4efd216f91984dead22c93f866fb25 /arch/arm/mach-prima2/include/mach/debug-macro.S | |
parent | 630be7ea2f2d0c2ee5662308297b77087da2ace2 (diff) | |
download | op-kernel-dev-67bdb28718ae6dbdfbfa541161529acfa0f3c137.zip op-kernel-dev-67bdb28718ae6dbdfbfa541161529acfa0f3c137.tar.gz |
ARM: sirf: move debug-macro.S to include/debug/sirf.S
The new style ll_debug implementation for multiplatform requires the
platform glue to be in include/debug, so let's move it there to
separate the debugging logic from the platform code.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Barry Song <Baohua.Song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/include/mach/debug-macro.S')
-rw-r--r-- | arch/arm/mach-prima2/include/mach/debug-macro.S | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/arm/mach-prima2/include/mach/debug-macro.S b/arch/arm/mach-prima2/include/mach/debug-macro.S deleted file mode 100644 index cd97492..0000000 --- a/arch/arm/mach-prima2/include/mach/debug-macro.S +++ /dev/null @@ -1,29 +0,0 @@ -/* - * arch/arm/mach-prima2/include/mach/debug-macro.S - * - * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company. - * - * Licensed under GPLv2 or later. - */ - -#include <mach/hardware.h> -#include <mach/uart.h> - - .macro addruart, rp, rv, tmp - ldr \rp, =SIRFSOC_UART1_PA_BASE @ physical - ldr \rv, =SIRFSOC_UART1_VA_BASE @ virtual - .endm - - .macro senduart,rd,rx - str \rd, [\rx, #SIRFSOC_UART_TXFIFO_DATA] - .endm - - .macro busyuart,rd,rx - .endm - - .macro waituart,rd,rx -1001: ldr \rd, [\rx, #SIRFSOC_UART_TXFIFO_STATUS] - tst \rd, #SIRFSOC_UART1_TXFIFO_EMPTY - beq 1001b - .endm - |