]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4520/1: S3C: Remove old VA values from static map
authorBen Dooks <ben-linux@fluff.org>
Sun, 22 Jul 2007 15:20:04 +0000 (16:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 22 Jul 2007 15:44:42 +0000 (16:44 +0100)
Remove the static maps for the LCD and USB devices.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2412/s3c2412.c
arch/arm/plat-s3c24xx/s3c244x.c
include/asm-arm/arch-s3c2410/map.h
include/asm-arm/arch-s3c2410/regs-lcd.h

index 12995d859b2c853a0e1934b5a8eebaaecca8ff44..66f471a9d64ad1be6347c35ad3c3ba7712692e1f 100644 (file)
@@ -63,7 +63,6 @@ static inline void s3c2412_init_gpio2(void)
 
 static struct map_desc s3c2412_iodesc[] __initdata = {
        IODESC_ENT(CLKPWR),
-       IODESC_ENT(LCD),
        IODESC_ENT(TIMER),
        IODESC_ENT(WATCHDOG),
 };
index 8b2d47f2e80e380282d0b3c5d58336c3bb18fe62..3444b13afac52ad0a9694785f204f50c71c32ade 100644 (file)
@@ -47,7 +47,6 @@ static struct map_desc s3c244x_iodesc[] __initdata = {
        IODESC_ENT(CLKPWR),
        IODESC_ENT(TIMER),
        IODESC_ENT(WATCHDOG),
-       IODESC_ENT(LCD),
 };
 
 /* uart initialisation */
index bec267b1d21249f69537c6ae19d8022f5efba728..95b9aee54733173537930822490249bd21091f92 100644 (file)
@@ -56,7 +56,6 @@
 #define S3C24XX_SZ_CLKPWR  SZ_1M
 
 /* LCD controller */
-#define S3C24XX_VA_LCD    S3C2410_ADDR(0x00300000)
 #define S3C2410_PA_LCD    (0x4D000000)
 #define S3C24XX_SZ_LCD    SZ_1M
 
@@ -75,7 +74,6 @@
 #define S3C24XX_SZ_TIMER   SZ_1M
 
 /* USB Device port */
-#define S3C24XX_VA_USBDEV  S3C2410_ADDR(0x00600000)
 #define S3C2410_PA_USBDEV  (0x52000000)
 #define S3C24XX_SZ_USBDEV  SZ_1M
 
index b7faeb04c0ffb1afcabc0225aaa68c8a6784bf7d..76fe5f6934267f702341b80ebba58ac7c3857c34 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef ___ASM_ARCH_REGS_LCD_H
 #define ___ASM_ARCH_REGS_LCD_H "$Id: lcd.h,v 1.3 2003/06/26 13:25:06 ben Exp $"
 
-#define S3C2410_LCDREG(x) ((x) + S3C24XX_VA_LCD)
+#define S3C2410_LCDREG(x)      (x)
 
 /* LCD control registers */
 #define S3C2410_LCDCON1            S3C2410_LCDREG(0x00)