diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-09-02 15:41:34 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-14 10:22:02 -0400 |
commit | bfd5af9940c665ec0148f6d280aab54736ffdbe7 (patch) | |
tree | c707b8c921e1e4e7aba0c3a742b2dc8c6110c2d1 /arch/arm/mach-mvebu/include | |
parent | fa04e4dbd3a0e68b9daf07a096db369b5a92f1bf (diff) |
ARM: mvebu: move debug macros to include/debug
Move mvebu debug-macro.S over to common debug macro directory.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch/arm/mach-mvebu/include')
-rw-r--r-- | arch/arm/mach-mvebu/include/mach/debug-macro.S | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/debug-macro.S b/arch/arm/mach-mvebu/include/mach/debug-macro.S deleted file mode 100644 index 22825760c7e1..000000000000 --- a/arch/arm/mach-mvebu/include/mach/debug-macro.S +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | /* | ||
2 | * Early serial output macro for Marvell SoC | ||
3 | * | ||
4 | * Copyright (C) 2012 Marvell | ||
5 | * | ||
6 | * Lior Amsalem <alior@marvell.com> | ||
7 | * Gregory Clement <gregory.clement@free-electrons.com> | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | ||
13 | |||
14 | #include <mach/armada-370-xp.h> | ||
15 | |||
16 | .macro addruart, rp, rv, tmp | ||
17 | ldr \rp, =ARMADA_370_XP_REGS_PHYS_BASE | ||
18 | ldr \rv, =ARMADA_370_XP_REGS_VIRT_BASE | ||
19 | orr \rp, \rp, #0x00012000 | ||
20 | orr \rv, \rv, #0x00012000 | ||
21 | .endm | ||
22 | |||
23 | #define UART_SHIFT 2 | ||
24 | #include <asm/hardware/debug-8250.S> | ||