aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2009-04-30 11:20:24 -0700
committerKevin Hilman <khilman@deeprootsystems.com>2009-05-28 15:17:49 -0700
commit96ed299fdb572fd694d361dc49285dddc0c87da4 (patch)
tree389b61f7fb0f32ba3e9b705f5f0aadfc9044d3d8 /arch
parent5570078c0ec5ecc5df0bbd7d06f43549b7127ae7 (diff)
davinci: cleanup: move dm355 UART2 define to dm355.c
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-davinci/dm355.c2
-rw-r--r--arch/arm/mach-davinci/include/mach/serial.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c
index 78fc598b0bc..893d5ba21d5 100644
--- a/arch/arm/mach-davinci/dm355.c
+++ b/arch/arm/mach-davinci/dm355.c
@@ -34,6 +34,8 @@
#include "clock.h"
#include "mux.h"
+#define DM355_UART2_BASE (IO_PHYS + 0x206000)
+
/*
* Device specific clocks
*/
diff --git a/arch/arm/mach-davinci/include/mach/serial.h b/arch/arm/mach-davinci/include/mach/serial.h
index b0c57fa9e4e..794fa5cf93c 100644
--- a/arch/arm/mach-davinci/include/mach/serial.h
+++ b/arch/arm/mach-davinci/include/mach/serial.h
@@ -18,8 +18,6 @@
#define DAVINCI_UART1_BASE (IO_PHYS + 0x20400)
#define DAVINCI_UART2_BASE (IO_PHYS + 0x20800)
-#define DM355_UART2_BASE (IO_PHYS + 0x206000)
-
/* DaVinci UART register offsets */
#define UART_DAVINCI_PWREMU 0x0c
#define UART_DM646X_SCR 0x10