ARM: BCMRING: Add debug macro
Subsystems (2)
PATCH 1/1 ARM: BCMRING: Add debug macro
Add debug macro for bcmring.
It is to support low-level debugging and earlyprintk.
Signed-off-by Jiandong Zheng<[email protected] <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>>
--- arch/arm/mach-bcmring/include/mach/debug-macro.S | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
create mode 100644 arch/arm/mach-bcmring/include/mach/debug-macro.S
(quoted diff) +0 -0
b/arch/arm/mach-bcmring/include/mach/debug-macro.S new file mode 100644
index 0000000..fae01fd
arch/arm/mach-bcmring/include/mach/debug-macro.S new file +19 -0
@@ -0,0 +1,19 @@ +/* arch/arm/mach-bcmring/include/mach/debug-macro.S + * + * Debugging macro include header + * + * Based on arch/arm/mach-versatile/include/mach/debug-macro.S + * by Jiandong Zheng + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * +*/ + .macro addruart, rp, rv, tmp + mov \rp, #0x00012000 + orr \rv, \rp, #0xf8000000 @ virtual base + orr \rp, \rp, #0x80000000 @ physical base + .endm + +#include<asm/hardware/debug-pl01x.S>
Signature · 1 line
1.7.9.5