summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/serial.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-09-01 20:32:21 -0400
committerNicolas Pitre <nico@fluxnic.net>2011-09-26 10:11:27 -0400
commite020fe34f8fc5cb42c2f518ea120005b4d01923d (patch)
treebd24cc2095fa77cb7d5a89abebf8a089250cd2af /arch/arm/mach-davinci/include/mach/serial.h
parentfa808a1ba5f9d40ad47c31f63691b1ded03a46f8 (diff)
downloadblackbird-obmc-linux-e020fe34f8fc5cb42c2f518ea120005b4d01923d.tar.gz
blackbird-obmc-linux-e020fe34f8fc5cb42c2f518ea120005b4d01923d.zip
ARM: mach-davinci: make DAVINCI_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> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/serial.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/serial.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/include/mach/serial.h b/arch/arm/mach-davinci/include/mach/serial.h
index c9e6ce185a66..e347d88fef91 100644
--- a/arch/arm/mach-davinci/include/mach/serial.h
+++ b/arch/arm/mach-davinci/include/mach/serial.h
@@ -21,8 +21,9 @@
* macros in debug-macro.S.
*
* This area sits just below the page tables (see arch/arm/kernel/head.S).
+ * We define it as a relative offset from start of usable RAM.
*/
-#define DAVINCI_UART_INFO (PLAT_PHYS_OFFSET + 0x3ff8)
+#define DAVINCI_UART_INFO_OFS 0x3ff8
#define DAVINCI_UART0_BASE (IO_PHYS + 0x20000)
#define DAVINCI_UART1_BASE (IO_PHYS + 0x20400)
OpenPOWER on IntegriCloud