Thread (35 messages) flat view 35 messages, 8 authors, 2012-06-13
STALE5207d

[PATCH v2 1/8] arm: mach-mvebu: add header

From: andrew@lunn.ch (Andrew Lunn)
Date: 2012-06-11 17:11:56

quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-mvebu/include/mach/uncompress.h b/arch/arm/mach-mvebu/include/mach/uncompress.h
new file mode 100644
index 0000000..3642997
--- /dev/null
+++ b/arch/arm/mach-mvebu/include/mach/uncompress.h
@@ -0,0 +1,41 @@
+/*
+ * Marvell Armada SoC kernel uncompression UART routines
+ *
+ * Copyright (C) 2012 Marvell
+ *
+ * Lior Amsalem <alior@marvell.com>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2.  This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#include <mach/mvebu.h>
+
+#define UART_THR ((volatile unsigned char *)(MVEBU_REGS_PHYS_BASE + 0x12000))
+#define UART_LSR ((volatile unsigned char *)(MVEBU_REGS_PHYS_BASE + 0x12014))
All Orion's place the UART at the same physical address. So i've got
this on my TODO list, to have one implementation in plat-orion.

However, you have moved away from plat-orion, so i wounder were would
be a good place to have this?

   Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help