diff options
Diffstat (limited to 'arch/arm/mach-s3c2410')
-rw-r--r-- | arch/arm/mach-s3c2410/cpu.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/devs.c | 36 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/gpio.c | 22 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-bast.c | 40 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-h1940.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-smdk2440.c | 70 |
6 files changed, 155 insertions, 18 deletions
diff --git a/arch/arm/mach-s3c2410/cpu.h b/arch/arm/mach-s3c2410/cpu.h index 478c15c0e36a..9cbe5eef492b 100644 --- a/arch/arm/mach-s3c2410/cpu.h +++ b/arch/arm/mach-s3c2410/cpu.h | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | /* todo - fix when rmk changes iodescs to use `void __iomem *` */ | 22 | /* todo - fix when rmk changes iodescs to use `void __iomem *` */ |
23 | 23 | ||
24 | #define IODESC_ENT(x) { (unsigned long)S3C24XX_VA_##x, S3C2410_PA_##x, S3C24XX_SZ_##x, MT_DEVICE } | 24 | #define IODESC_ENT(x) { (unsigned long)S3C24XX_VA_##x, __phys_to_pfn(S3C2410_PA_##x), S3C24XX_SZ_##x, MT_DEVICE } |
25 | 25 | ||
26 | #ifndef MHZ | 26 | #ifndef MHZ |
27 | #define MHZ (1000*1000) | 27 | #define MHZ (1000*1000) |
diff --git a/arch/arm/mach-s3c2410/devs.c b/arch/arm/mach-s3c2410/devs.c index 0077937a7ab8..08bc7d95a45d 100644 --- a/arch/arm/mach-s3c2410/devs.c +++ b/arch/arm/mach-s3c2410/devs.c | |||
@@ -47,7 +47,7 @@ struct platform_device *s3c24xx_uart_devs[3]; | |||
47 | static struct resource s3c_usb_resource[] = { | 47 | static struct resource s3c_usb_resource[] = { |
48 | [0] = { | 48 | [0] = { |
49 | .start = S3C2410_PA_USBHOST, | 49 | .start = S3C2410_PA_USBHOST, |
50 | .end = S3C2410_PA_USBHOST + S3C24XX_SZ_USBHOST, | 50 | .end = S3C2410_PA_USBHOST + S3C24XX_SZ_USBHOST - 1, |
51 | .flags = IORESOURCE_MEM, | 51 | .flags = IORESOURCE_MEM, |
52 | }, | 52 | }, |
53 | [1] = { | 53 | [1] = { |
@@ -77,7 +77,7 @@ EXPORT_SYMBOL(s3c_device_usb); | |||
77 | static struct resource s3c_lcd_resource[] = { | 77 | static struct resource s3c_lcd_resource[] = { |
78 | [0] = { | 78 | [0] = { |
79 | .start = S3C2410_PA_LCD, | 79 | .start = S3C2410_PA_LCD, |
80 | .end = S3C2410_PA_LCD + S3C24XX_SZ_LCD, | 80 | .end = S3C2410_PA_LCD + S3C24XX_SZ_LCD - 1, |
81 | .flags = IORESOURCE_MEM, | 81 | .flags = IORESOURCE_MEM, |
82 | }, | 82 | }, |
83 | [1] = { | 83 | [1] = { |
@@ -103,21 +103,25 @@ struct platform_device s3c_device_lcd = { | |||
103 | 103 | ||
104 | EXPORT_SYMBOL(s3c_device_lcd); | 104 | EXPORT_SYMBOL(s3c_device_lcd); |
105 | 105 | ||
106 | static struct s3c2410fb_mach_info s3c2410fb_info; | 106 | void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd) |
107 | |||
108 | void __init set_s3c2410fb_info(struct s3c2410fb_mach_info *hard_s3c2410fb_info) | ||
109 | { | 107 | { |
110 | memcpy(&s3c2410fb_info,hard_s3c2410fb_info,sizeof(struct s3c2410fb_mach_info)); | 108 | struct s3c2410fb_mach_info *npd; |
111 | s3c_device_lcd.dev.platform_data = &s3c2410fb_info; | 109 | |
110 | npd = kmalloc(sizeof(*npd), GFP_KERNEL); | ||
111 | if (npd) { | ||
112 | memcpy(npd, pd, sizeof(*npd)); | ||
113 | s3c_device_lcd.dev.platform_data = npd; | ||
114 | } else { | ||
115 | printk(KERN_ERR "no memory for LCD platform data\n"); | ||
116 | } | ||
112 | } | 117 | } |
113 | EXPORT_SYMBOL(set_s3c2410fb_info); | ||
114 | 118 | ||
115 | /* NAND Controller */ | 119 | /* NAND Controller */ |
116 | 120 | ||
117 | static struct resource s3c_nand_resource[] = { | 121 | static struct resource s3c_nand_resource[] = { |
118 | [0] = { | 122 | [0] = { |
119 | .start = S3C2410_PA_NAND, | 123 | .start = S3C2410_PA_NAND, |
120 | .end = S3C2410_PA_NAND + S3C24XX_SZ_NAND, | 124 | .end = S3C2410_PA_NAND + S3C24XX_SZ_NAND - 1, |
121 | .flags = IORESOURCE_MEM, | 125 | .flags = IORESOURCE_MEM, |
122 | } | 126 | } |
123 | }; | 127 | }; |
@@ -136,7 +140,7 @@ EXPORT_SYMBOL(s3c_device_nand); | |||
136 | static struct resource s3c_usbgadget_resource[] = { | 140 | static struct resource s3c_usbgadget_resource[] = { |
137 | [0] = { | 141 | [0] = { |
138 | .start = S3C2410_PA_USBDEV, | 142 | .start = S3C2410_PA_USBDEV, |
139 | .end = S3C2410_PA_USBDEV + S3C24XX_SZ_USBDEV, | 143 | .end = S3C2410_PA_USBDEV + S3C24XX_SZ_USBDEV - 1, |
140 | .flags = IORESOURCE_MEM, | 144 | .flags = IORESOURCE_MEM, |
141 | }, | 145 | }, |
142 | [1] = { | 146 | [1] = { |
@@ -161,7 +165,7 @@ EXPORT_SYMBOL(s3c_device_usbgadget); | |||
161 | static struct resource s3c_wdt_resource[] = { | 165 | static struct resource s3c_wdt_resource[] = { |
162 | [0] = { | 166 | [0] = { |
163 | .start = S3C2410_PA_WATCHDOG, | 167 | .start = S3C2410_PA_WATCHDOG, |
164 | .end = S3C2410_PA_WATCHDOG + S3C24XX_SZ_WATCHDOG, | 168 | .end = S3C2410_PA_WATCHDOG + S3C24XX_SZ_WATCHDOG - 1, |
165 | .flags = IORESOURCE_MEM, | 169 | .flags = IORESOURCE_MEM, |
166 | }, | 170 | }, |
167 | [1] = { | 171 | [1] = { |
@@ -186,7 +190,7 @@ EXPORT_SYMBOL(s3c_device_wdt); | |||
186 | static struct resource s3c_i2c_resource[] = { | 190 | static struct resource s3c_i2c_resource[] = { |
187 | [0] = { | 191 | [0] = { |
188 | .start = S3C2410_PA_IIC, | 192 | .start = S3C2410_PA_IIC, |
189 | .end = S3C2410_PA_IIC + S3C24XX_SZ_IIC, | 193 | .end = S3C2410_PA_IIC + S3C24XX_SZ_IIC - 1, |
190 | .flags = IORESOURCE_MEM, | 194 | .flags = IORESOURCE_MEM, |
191 | }, | 195 | }, |
192 | [1] = { | 196 | [1] = { |
@@ -211,7 +215,7 @@ EXPORT_SYMBOL(s3c_device_i2c); | |||
211 | static struct resource s3c_iis_resource[] = { | 215 | static struct resource s3c_iis_resource[] = { |
212 | [0] = { | 216 | [0] = { |
213 | .start = S3C2410_PA_IIS, | 217 | .start = S3C2410_PA_IIS, |
214 | .end = S3C2410_PA_IIS + S3C24XX_SZ_IIS, | 218 | .end = S3C2410_PA_IIS + S3C24XX_SZ_IIS -1, |
215 | .flags = IORESOURCE_MEM, | 219 | .flags = IORESOURCE_MEM, |
216 | } | 220 | } |
217 | }; | 221 | }; |
@@ -265,7 +269,7 @@ EXPORT_SYMBOL(s3c_device_rtc); | |||
265 | static struct resource s3c_adc_resource[] = { | 269 | static struct resource s3c_adc_resource[] = { |
266 | [0] = { | 270 | [0] = { |
267 | .start = S3C2410_PA_ADC, | 271 | .start = S3C2410_PA_ADC, |
268 | .end = S3C2410_PA_ADC + S3C24XX_SZ_ADC, | 272 | .end = S3C2410_PA_ADC + S3C24XX_SZ_ADC - 1, |
269 | .flags = IORESOURCE_MEM, | 273 | .flags = IORESOURCE_MEM, |
270 | }, | 274 | }, |
271 | [1] = { | 275 | [1] = { |
@@ -288,7 +292,7 @@ struct platform_device s3c_device_adc = { | |||
288 | static struct resource s3c_sdi_resource[] = { | 292 | static struct resource s3c_sdi_resource[] = { |
289 | [0] = { | 293 | [0] = { |
290 | .start = S3C2410_PA_SDI, | 294 | .start = S3C2410_PA_SDI, |
291 | .end = S3C2410_PA_SDI + S3C24XX_SZ_SDI, | 295 | .end = S3C2410_PA_SDI + S3C24XX_SZ_SDI - 1, |
292 | .flags = IORESOURCE_MEM, | 296 | .flags = IORESOURCE_MEM, |
293 | }, | 297 | }, |
294 | [1] = { | 298 | [1] = { |
@@ -465,7 +469,7 @@ EXPORT_SYMBOL(s3c_device_timer3); | |||
465 | static struct resource s3c_camif_resource[] = { | 469 | static struct resource s3c_camif_resource[] = { |
466 | [0] = { | 470 | [0] = { |
467 | .start = S3C2440_PA_CAMIF, | 471 | .start = S3C2440_PA_CAMIF, |
468 | .end = S3C2440_PA_CAMIF + S3C2440_SZ_CAMIF, | 472 | .end = S3C2440_PA_CAMIF + S3C2440_SZ_CAMIF - 1, |
469 | .flags = IORESOURCE_MEM, | 473 | .flags = IORESOURCE_MEM, |
470 | }, | 474 | }, |
471 | [1] = { | 475 | [1] = { |
diff --git a/arch/arm/mach-s3c2410/gpio.c b/arch/arm/mach-s3c2410/gpio.c index 94f1776cf312..23ea3d5fa09c 100644 --- a/arch/arm/mach-s3c2410/gpio.c +++ b/arch/arm/mach-s3c2410/gpio.c | |||
@@ -30,6 +30,7 @@ | |||
30 | * 04-Oct-2004 BJD Added irq filter controls for GPIO | 30 | * 04-Oct-2004 BJD Added irq filter controls for GPIO |
31 | * 05-Nov-2004 BJD EXPORT_SYMBOL() added for all code | 31 | * 05-Nov-2004 BJD EXPORT_SYMBOL() added for all code |
32 | * 13-Mar-2005 BJD Updates for __iomem | 32 | * 13-Mar-2005 BJD Updates for __iomem |
33 | * 26-Oct-2005 BJD Added generic configuration types | ||
33 | */ | 34 | */ |
34 | 35 | ||
35 | 36 | ||
@@ -58,6 +59,27 @@ void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function) | |||
58 | mask = 3 << S3C2410_GPIO_OFFSET(pin)*2; | 59 | mask = 3 << S3C2410_GPIO_OFFSET(pin)*2; |
59 | } | 60 | } |
60 | 61 | ||
62 | switch (function) { | ||
63 | case S3C2410_GPIO_LEAVE: | ||
64 | mask = 0; | ||
65 | function = 0; | ||
66 | break; | ||
67 | |||
68 | case S3C2410_GPIO_INPUT: | ||
69 | case S3C2410_GPIO_OUTPUT: | ||
70 | case S3C2410_GPIO_SFN2: | ||
71 | case S3C2410_GPIO_SFN3: | ||
72 | if (pin < S3C2410_GPIO_BANKB) { | ||
73 | function &= 1; | ||
74 | function <<= S3C2410_GPIO_OFFSET(pin); | ||
75 | } else { | ||
76 | function &= 3; | ||
77 | function <<= S3C2410_GPIO_OFFSET(pin)*2; | ||
78 | } | ||
79 | } | ||
80 | |||
81 | /* modify the specified register wwith IRQs off */ | ||
82 | |||
61 | local_irq_save(flags); | 83 | local_irq_save(flags); |
62 | 84 | ||
63 | con = __raw_readl(base + 0x00); | 85 | con = __raw_readl(base + 0x00); |
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 7b51bfd0ba6d..c1b5c63ec24a 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -32,6 +32,7 @@ | |||
32 | * 25-Jul-2005 BJD Removed ASIX static mappings | 32 | * 25-Jul-2005 BJD Removed ASIX static mappings |
33 | * 27-Jul-2005 BJD Ensure maximum frequency of i2c bus | 33 | * 27-Jul-2005 BJD Ensure maximum frequency of i2c bus |
34 | * 20-Sep-2005 BJD Added static to non-exported items | 34 | * 20-Sep-2005 BJD Added static to non-exported items |
35 | * 26-Oct-2005 BJD Added FB platform data | ||
35 | */ | 36 | */ |
36 | 37 | ||
37 | #include <linux/kernel.h> | 38 | #include <linux/kernel.h> |
@@ -61,8 +62,10 @@ | |||
61 | #include <asm/arch/regs-gpio.h> | 62 | #include <asm/arch/regs-gpio.h> |
62 | #include <asm/arch/regs-mem.h> | 63 | #include <asm/arch/regs-mem.h> |
63 | #include <asm/arch/regs-lcd.h> | 64 | #include <asm/arch/regs-lcd.h> |
65 | |||
64 | #include <asm/arch/nand.h> | 66 | #include <asm/arch/nand.h> |
65 | #include <asm/arch/iic.h> | 67 | #include <asm/arch/iic.h> |
68 | #include <asm/arch/fb.h> | ||
66 | 69 | ||
67 | #include <linux/mtd/mtd.h> | 70 | #include <linux/mtd/mtd.h> |
68 | #include <linux/mtd/nand.h> | 71 | #include <linux/mtd/nand.h> |
@@ -399,6 +402,38 @@ static struct s3c2410_platform_i2c bast_i2c_info = { | |||
399 | .max_freq = 130*1000, | 402 | .max_freq = 130*1000, |
400 | }; | 403 | }; |
401 | 404 | ||
405 | |||
406 | static struct s3c2410fb_mach_info __initdata bast_lcd_info = { | ||
407 | .width = 640, | ||
408 | .height = 480, | ||
409 | |||
410 | .xres = { | ||
411 | .min = 320, | ||
412 | .max = 1024, | ||
413 | .defval = 640, | ||
414 | }, | ||
415 | |||
416 | .yres = { | ||
417 | .min = 240, | ||
418 | .max = 600, | ||
419 | .defval = 480, | ||
420 | }, | ||
421 | |||
422 | .bpp = { | ||
423 | .min = 4, | ||
424 | .max = 16, | ||
425 | .defval = 8, | ||
426 | }, | ||
427 | |||
428 | .regs = { | ||
429 | .lcdcon1 = 0x00000176, | ||
430 | .lcdcon2 = 0x1d77c7c2, | ||
431 | .lcdcon3 = 0x013a7f13, | ||
432 | .lcdcon4 = 0x00000057, | ||
433 | .lcdcon5 = 0x00014b02, | ||
434 | } | ||
435 | }; | ||
436 | |||
402 | /* Standard BAST devices */ | 437 | /* Standard BAST devices */ |
403 | 438 | ||
404 | static struct platform_device *bast_devices[] __initdata = { | 439 | static struct platform_device *bast_devices[] __initdata = { |
@@ -454,6 +489,10 @@ static void __init bast_map_io(void) | |||
454 | usb_simtec_init(); | 489 | usb_simtec_init(); |
455 | } | 490 | } |
456 | 491 | ||
492 | static void __init bast_init(void) | ||
493 | { | ||
494 | s3c24xx_fb_set_platdata(&bast_lcd_info); | ||
495 | } | ||
457 | 496 | ||
458 | MACHINE_START(BAST, "Simtec-BAST") | 497 | MACHINE_START(BAST, "Simtec-BAST") |
459 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ | 498 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ |
@@ -463,5 +502,6 @@ MACHINE_START(BAST, "Simtec-BAST") | |||
463 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 502 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
464 | .map_io = bast_map_io, | 503 | .map_io = bast_map_io, |
465 | .init_irq = s3c24xx_init_irq, | 504 | .init_irq = s3c24xx_init_irq, |
505 | .init_machine = bast_init, | ||
466 | .timer = &s3c24xx_timer, | 506 | .timer = &s3c24xx_timer, |
467 | MACHINE_END | 507 | MACHINE_END |
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index fb3cb01266e5..7efeaaad2361 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * 14-Jan-2005 BJD Added clock init | 25 | * 14-Jan-2005 BJD Added clock init |
26 | * 10-Mar-2005 LCVR Changed S3C2410_VA to S3C24XX_VA | 26 | * 10-Mar-2005 LCVR Changed S3C2410_VA to S3C24XX_VA |
27 | * 20-Sep-2005 BJD Added static to non-exported items | 27 | * 20-Sep-2005 BJD Added static to non-exported items |
28 | * 26-Oct-2005 BJD Changed name of fb init call | ||
28 | */ | 29 | */ |
29 | 30 | ||
30 | #include <linux/kernel.h> | 31 | #include <linux/kernel.h> |
@@ -164,7 +165,7 @@ static void __init h1940_init_irq(void) | |||
164 | 165 | ||
165 | static void __init h1940_init(void) | 166 | static void __init h1940_init(void) |
166 | { | 167 | { |
167 | set_s3c2410fb_info(&h1940_lcdcfg); | 168 | s3c24xx_fb_set_platdata(&h1940_lcdcfg); |
168 | } | 169 | } |
169 | 170 | ||
170 | MACHINE_START(H1940, "IPAQ-H1940") | 171 | MACHINE_START(H1940, "IPAQ-H1940") |
diff --git a/arch/arm/mach-s3c2410/mach-smdk2440.c b/arch/arm/mach-s3c2410/mach-smdk2440.c index 722ef46b630a..6950e61b7914 100644 --- a/arch/arm/mach-s3c2410/mach-smdk2440.c +++ b/arch/arm/mach-s3c2410/mach-smdk2440.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * 10-Mar-2005 LCVR Replaced S3C2410_VA by S3C24XX_VA | 19 | * 10-Mar-2005 LCVR Replaced S3C2410_VA by S3C24XX_VA |
20 | * 14-Mar-2005 BJD void __iomem fixes | 20 | * 14-Mar-2005 BJD void __iomem fixes |
21 | * 20-Sep-2005 BJD Added static to non-exported items | 21 | * 20-Sep-2005 BJD Added static to non-exported items |
22 | * 26-Oct-2005 BJD Added framebuffer data | ||
22 | */ | 23 | */ |
23 | 24 | ||
24 | #include <linux/kernel.h> | 25 | #include <linux/kernel.h> |
@@ -41,7 +42,10 @@ | |||
41 | //#include <asm/debug-ll.h> | 42 | //#include <asm/debug-ll.h> |
42 | #include <asm/arch/regs-serial.h> | 43 | #include <asm/arch/regs-serial.h> |
43 | #include <asm/arch/regs-gpio.h> | 44 | #include <asm/arch/regs-gpio.h> |
45 | #include <asm/arch/regs-lcd.h> | ||
46 | |||
44 | #include <asm/arch/idle.h> | 47 | #include <asm/arch/idle.h> |
48 | #include <asm/arch/fb.h> | ||
45 | 49 | ||
46 | #include "s3c2410.h" | 50 | #include "s3c2410.h" |
47 | #include "s3c2440.h" | 51 | #include "s3c2440.h" |
@@ -86,6 +90,70 @@ static struct s3c2410_uartcfg smdk2440_uartcfgs[] = { | |||
86 | } | 90 | } |
87 | }; | 91 | }; |
88 | 92 | ||
93 | /* LCD driver info */ | ||
94 | |||
95 | static struct s3c2410fb_mach_info smdk2440_lcd_cfg __initdata = { | ||
96 | .regs = { | ||
97 | |||
98 | .lcdcon1 = S3C2410_LCDCON1_TFT16BPP | | ||
99 | S3C2410_LCDCON1_TFT | | ||
100 | S3C2410_LCDCON1_CLKVAL(0x04), | ||
101 | |||
102 | .lcdcon2 = S3C2410_LCDCON2_VBPD(7) | | ||
103 | S3C2410_LCDCON2_LINEVAL(319) | | ||
104 | S3C2410_LCDCON2_VFPD(6) | | ||
105 | S3C2410_LCDCON2_VSPW(3), | ||
106 | |||
107 | .lcdcon3 = S3C2410_LCDCON3_HBPD(19) | | ||
108 | S3C2410_LCDCON3_HOZVAL(239) | | ||
109 | S3C2410_LCDCON3_HFPD(7), | ||
110 | |||
111 | .lcdcon4 = S3C2410_LCDCON4_MVAL(0) | | ||
112 | S3C2410_LCDCON4_HSPW(3), | ||
113 | |||
114 | .lcdcon5 = S3C2410_LCDCON5_FRM565 | | ||
115 | S3C2410_LCDCON5_INVVLINE | | ||
116 | S3C2410_LCDCON5_INVVFRAME | | ||
117 | S3C2410_LCDCON5_PWREN | | ||
118 | S3C2410_LCDCON5_HWSWP, | ||
119 | }, | ||
120 | |||
121 | #if 0 | ||
122 | /* currently setup by downloader */ | ||
123 | .gpccon = 0xaa940659, | ||
124 | .gpccon_mask = 0xffffffff, | ||
125 | .gpcup = 0x0000ffff, | ||
126 | .gpcup_mask = 0xffffffff, | ||
127 | .gpdcon = 0xaa84aaa0, | ||
128 | .gpdcon_mask = 0xffffffff, | ||
129 | .gpdup = 0x0000faff, | ||
130 | .gpdup_mask = 0xffffffff, | ||
131 | #endif | ||
132 | |||
133 | .lpcsel = ((0xCE6) & ~7) | 1<<4, | ||
134 | |||
135 | .width = 240, | ||
136 | .height = 320, | ||
137 | |||
138 | .xres = { | ||
139 | .min = 240, | ||
140 | .max = 240, | ||
141 | .defval = 240, | ||
142 | }, | ||
143 | |||
144 | .yres = { | ||
145 | .min = 320, | ||
146 | .max = 320, | ||
147 | .defval = 320, | ||
148 | }, | ||
149 | |||
150 | .bpp = { | ||
151 | .min = 16, | ||
152 | .max = 16, | ||
153 | .defval = 16, | ||
154 | }, | ||
155 | }; | ||
156 | |||
89 | static struct platform_device *smdk2440_devices[] __initdata = { | 157 | static struct platform_device *smdk2440_devices[] __initdata = { |
90 | &s3c_device_usb, | 158 | &s3c_device_usb, |
91 | &s3c_device_lcd, | 159 | &s3c_device_lcd, |
@@ -121,6 +189,8 @@ static void __init smdk2440_machine_init(void) | |||
121 | s3c2410_gpio_setpin(S3C2410_GPF6, 0); | 189 | s3c2410_gpio_setpin(S3C2410_GPF6, 0); |
122 | s3c2410_gpio_setpin(S3C2410_GPF7, 0); | 190 | s3c2410_gpio_setpin(S3C2410_GPF7, 0); |
123 | 191 | ||
192 | s3c24xx_fb_set_platdata(&smdk2440_lcd_cfg); | ||
193 | |||
124 | s3c2410_pm_init(); | 194 | s3c2410_pm_init(); |
125 | } | 195 | } |
126 | 196 | ||