davinci: cleanup: move dm355 UART2 define to dm355.c
authorKevin Hilman <khilman@deeprootsystems.com>
Thu, 30 Apr 2009 18:20:24 +0000 (11:20 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 28 May 2009 22:17:49 +0000 (15:17 -0700)
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/include/mach/serial.h

index 78fc598..893d5ba 100644 (file)
@@ -34,6 +34,8 @@
 #include "clock.h"
 #include "mux.h"
 
+#define DM355_UART2_BASE       (IO_PHYS + 0x206000)
+
 /*
  * Device specific clocks
  */
index b0c57fa..794fa5c 100644 (file)
@@ -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