diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-04-30 06:08:38 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-18 05:45:38 -0400 |
commit | fbd6fe73514cf31a07c7b16518930ea84c644463 (patch) | |
tree | 3459608f56913b6b84693b1d4079fe835eeeced7 | |
parent | 63b1f51b2405573d47bf5b9ab6e7cd5c697d3dcc (diff) |
ARM: S3C2443: Add initial defines for framebuffer support
Add the necessary defines to get the s3c-fb device to compile for
s3c2443.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/irqs.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/map.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/irqs.h b/arch/arm/mach-s3c2410/include/mach/irqs.h index 877c15e1b154..11bb0f08fe6a 100644 --- a/arch/arm/mach-s3c2410/include/mach/irqs.h +++ b/arch/arm/mach-s3c2410/include/mach/irqs.h | |||
@@ -187,6 +187,9 @@ | |||
187 | #define IRQ_S3CUART_TX3 IRQ_S3C2443_TX3 | 187 | #define IRQ_S3CUART_TX3 IRQ_S3C2443_TX3 |
188 | #define IRQ_S3CUART_ERR3 IRQ_S3C2443_ERR3 | 188 | #define IRQ_S3CUART_ERR3 IRQ_S3C2443_ERR3 |
189 | 189 | ||
190 | #define IRQ_LCD_VSYNC IRQ_S3C2443_LCD3 | ||
191 | #define IRQ_LCD_SYSTEM IRQ_S3C2443_LCD2 | ||
192 | |||
190 | #ifdef CONFIG_CPU_S3C2440 | 193 | #ifdef CONFIG_CPU_S3C2440 |
191 | #define IRQ_S3C244x_AC97 IRQ_S3C2440_AC97 | 194 | #define IRQ_S3C244x_AC97 IRQ_S3C2440_AC97 |
192 | #else | 195 | #else |
diff --git a/arch/arm/mach-s3c2410/include/mach/map.h b/arch/arm/mach-s3c2410/include/mach/map.h index f07d68066d7e..091c98a639d9 100644 --- a/arch/arm/mach-s3c2410/include/mach/map.h +++ b/arch/arm/mach-s3c2410/include/mach/map.h | |||
@@ -67,6 +67,8 @@ | |||
67 | #define S3C2443_PA_HSMMC (0x4A800000) | 67 | #define S3C2443_PA_HSMMC (0x4A800000) |
68 | #define S3C2416_PA_HSMMC0 (0x4AC00000) | 68 | #define S3C2416_PA_HSMMC0 (0x4AC00000) |
69 | 69 | ||
70 | #define S3C2443_PA_FB (0x4C800000) | ||
71 | |||
70 | /* S3C2412 memory and IO controls */ | 72 | /* S3C2412 memory and IO controls */ |
71 | #define S3C2412_PA_SSMC (0x4F000000) | 73 | #define S3C2412_PA_SSMC (0x4F000000) |
72 | #define S3C2412_VA_SSMC S3C_ADDR_CPU(0x00000000) | 74 | #define S3C2412_VA_SSMC S3C_ADDR_CPU(0x00000000) |
@@ -106,6 +108,7 @@ | |||
106 | #define S3C24XX_PA_SDI S3C2410_PA_SDI | 108 | #define S3C24XX_PA_SDI S3C2410_PA_SDI |
107 | #define S3C24XX_PA_NAND S3C2410_PA_NAND | 109 | #define S3C24XX_PA_NAND S3C2410_PA_NAND |
108 | 110 | ||
111 | #define S3C_PA_FB S3C2443_PA_FB | ||
109 | #define S3C_PA_IIC S3C2410_PA_IIC | 112 | #define S3C_PA_IIC S3C2410_PA_IIC |
110 | #define S3C_PA_UART S3C24XX_PA_UART | 113 | #define S3C_PA_UART S3C24XX_PA_UART |
111 | #define S3C_PA_USBHOST S3C2410_PA_USBHOST | 114 | #define S3C_PA_USBHOST S3C2410_PA_USBHOST |