aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/serial.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-08-31 13:57:37 -0400
committerNicolas Pitre <nico@fluxnic.net>2011-09-26 10:11:25 -0400
commitdd185456efce7f326c058fc12fd0df17bd8466eb (patch)
tree78abc6ff08a905c25eda49b7f67e6790c6257f7c /arch/arm/plat-omap/include/plat/serial.h
parentARM: add an extra temp register to the low level debugging addruart macro (diff)
downloadlinux-dev-dd185456efce7f326c058fc12fd0df17bd8466eb.tar.xz
linux-dev-dd185456efce7f326c058fc12fd0df17bd8466eb.zip
ARM: plat-omap: make OMAP_UART_INFO into a relative offset
This is the first step to remove PLAT_PHYS_OFFSET usage from the debug UART code. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/serial.h')
-rw-r--r--arch/arm/plat-omap/include/plat/serial.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/serial.h b/arch/arm/plat-omap/include/plat/serial.h
index de3b10c18127..1ab9fd6abe6d 100644
--- a/arch/arm/plat-omap/include/plat/serial.h
+++ b/arch/arm/plat-omap/include/plat/serial.h
@@ -16,8 +16,8 @@
#include <linux/init.h>
/*
- * Memory entry used for the DEBUG_LL UART configuration. See also
- * uncompress.h and debug-macro.S.
+ * Memory entry used for the DEBUG_LL UART configuration, relative to
+ * start of RAM. See also uncompress.h and debug-macro.S.
*
* Note that using a memory location for storing the UART configuration
* has at least two limitations:
@@ -27,7 +27,7 @@
* 2. We assume printascii is called at least once before paging_init,
* and addruart has a chance to read OMAP_UART_INFO
*/
-#define OMAP_UART_INFO (PLAT_PHYS_OFFSET + 0x3ffc)
+#define OMAP_UART_INFO_OFS 0x3ffc
/* OMAP1 serial ports */
#define OMAP1_UART1_BASE 0xfffb0000