path: root/arch/arm/include
diff options
authorOlof Johansson <olof@lixom.net>2012-11-20 22:14:59 -0800
committerOlof Johansson <olof@lixom.net>2012-11-20 22:14:59 -0800
commit5ffd785402c295328d3866d9f8630152f51d332a (patch)
tree1ecf19ebd7e92b5a99ce094934c0a7901c96402b /arch/arm/include
parent8ac49e0485bb79223a111b366a3b1f5ec9148729 (diff)
parent1b106699647b56313bac707e12e7ad67180cb147 (diff)
Merge tag 'tags/sunxi-support-for-3.8' of git://github.com/mripard/linux into next/soc
From Maxime Ripard: Allwinner SoC support for 3.8 * tag 'tags/sunxi-support-for-3.8' of git://github.com/mripard/linux: ARM: sunxi: Add entry to MAINTAINERS ARM: sunxi: Add device tree for the A13 and the Olinuxino board ARM: sunxi: Add earlyprintk support ARM: sunxi: Add basic support for Allwinner A1x SoCs irqchip: sunxi: Add irq controller driver clocksource: sunxi: Add Allwinner A1X Timer Driver clk: sunxi: Add dummy fixed rate clock for Allwinner A1X SoCs Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/include')
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/include/debug/sunxi.S b/arch/arm/include/debug/sunxi.S
new file mode 100644
index 00000000000..3bf61ca0df7
--- /dev/null
+++ b/arch/arm/include/debug/sunxi.S
@@ -0,0 +1,24 @@
+ * Early serial output macro for Allwinner A1X SoCs
+ *
+ * Copyright (C) 2012 Maxime Ripard
+ *
+ * Maxime Ripard <maxime.ripard@free-electrons.com>
+ *
+ * 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.
+#define SUNXI_UART_DEBUG_PHYS_BASE 0x01c28400
+#define SUNXI_UART_DEBUG_VIRT_BASE 0xf1c28400
+ .macro addruart, rp, rv, tmp
+ .endm
+#define UART_SHIFT 2
+#include <asm/hardware/debug-8250.S>