aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-07-22 11:20:04 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-07-22 11:44:42 -0400
commitbf2a3a26d18679c94eca973cb8741e3c1ac53c43 (patch)
tree73025ec2879c20cd33918dede68b318fc20d929a
parentae39ae0b0030d7f96a6b7b06d9c77c8ad2a07673 (diff)
[ARM] 4520/1: S3C: Remove old VA values from static map
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>
-rw-r--r--arch/arm/mach-s3c2412/s3c2412.c1
-rw-r--r--arch/arm/plat-s3c24xx/s3c244x.c1
-rw-r--r--include/asm-arm/arch-s3c2410/map.h2
-rw-r--r--include/asm-arm/arch-s3c2410/regs-lcd.h2
4 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c2412/s3c2412.c b/arch/arm/mach-s3c2412/s3c2412.c
index 12995d859b2c..66f471a9d64a 100644
--- a/arch/arm/mach-s3c2412/s3c2412.c
+++ b/arch/arm/mach-s3c2412/s3c2412.c
@@ -63,7 +63,6 @@ static inline void s3c2412_init_gpio2(void)
63 63
64static struct map_desc s3c2412_iodesc[] __initdata = { 64static struct map_desc s3c2412_iodesc[] __initdata = {
65 IODESC_ENT(CLKPWR), 65 IODESC_ENT(CLKPWR),
66 IODESC_ENT(LCD),
67 IODESC_ENT(TIMER), 66 IODESC_ENT(TIMER),
68 IODESC_ENT(WATCHDOG), 67 IODESC_ENT(WATCHDOG),
69}; 68};
diff --git a/arch/arm/plat-s3c24xx/s3c244x.c b/arch/arm/plat-s3c24xx/s3c244x.c
index 8b2d47f2e80e..3444b13afac5 100644
--- a/arch/arm/plat-s3c24xx/s3c244x.c
+++ b/arch/arm/plat-s3c24xx/s3c244x.c
@@ -47,7 +47,6 @@ static struct map_desc s3c244x_iodesc[] __initdata = {
47 IODESC_ENT(CLKPWR), 47 IODESC_ENT(CLKPWR),
48 IODESC_ENT(TIMER), 48 IODESC_ENT(TIMER),
49 IODESC_ENT(WATCHDOG), 49 IODESC_ENT(WATCHDOG),
50 IODESC_ENT(LCD),
51}; 50};
52 51
53/* uart initialisation */ 52/* uart initialisation */
diff --git a/include/asm-arm/arch-s3c2410/map.h b/include/asm-arm/arch-s3c2410/map.h
index bec267b1d212..95b9aee54733 100644
--- a/include/asm-arm/arch-s3c2410/map.h
+++ b/include/asm-arm/arch-s3c2410/map.h
@@ -56,7 +56,6 @@
56#define S3C24XX_SZ_CLKPWR SZ_1M 56#define S3C24XX_SZ_CLKPWR SZ_1M
57 57
58/* LCD controller */ 58/* LCD controller */
59#define S3C24XX_VA_LCD S3C2410_ADDR(0x00300000)
60#define S3C2410_PA_LCD (0x4D000000) 59#define S3C2410_PA_LCD (0x4D000000)
61#define S3C24XX_SZ_LCD SZ_1M 60#define S3C24XX_SZ_LCD SZ_1M
62 61
@@ -75,7 +74,6 @@
75#define S3C24XX_SZ_TIMER SZ_1M 74#define S3C24XX_SZ_TIMER SZ_1M
76 75
77/* USB Device port */ 76/* USB Device port */
78#define S3C24XX_VA_USBDEV S3C2410_ADDR(0x00600000)
79#define S3C2410_PA_USBDEV (0x52000000) 77#define S3C2410_PA_USBDEV (0x52000000)
80#define S3C24XX_SZ_USBDEV SZ_1M 78#define S3C24XX_SZ_USBDEV SZ_1M
81 79
diff --git a/include/asm-arm/arch-s3c2410/regs-lcd.h b/include/asm-arm/arch-s3c2410/regs-lcd.h
index b7faeb04c0ff..76fe5f693426 100644
--- a/include/asm-arm/arch-s3c2410/regs-lcd.h
+++ b/include/asm-arm/arch-s3c2410/regs-lcd.h
@@ -12,7 +12,7 @@
12#ifndef ___ASM_ARCH_REGS_LCD_H 12#ifndef ___ASM_ARCH_REGS_LCD_H
13#define ___ASM_ARCH_REGS_LCD_H "$Id: lcd.h,v 1.3 2003/06/26 13:25:06 ben Exp $" 13#define ___ASM_ARCH_REGS_LCD_H "$Id: lcd.h,v 1.3 2003/06/26 13:25:06 ben Exp $"
14 14
15#define S3C2410_LCDREG(x) ((x) + S3C24XX_VA_LCD) 15#define S3C2410_LCDREG(x) (x)
16 16
17/* LCD control registers */ 17/* LCD control registers */
18#define S3C2410_LCDCON1 S3C2410_LCDREG(0x00) 18#define S3C2410_LCDCON1 S3C2410_LCDREG(0x00)