diff options
Diffstat (limited to 'arch/arm/mach-s3c2442')
-rw-r--r-- | arch/arm/mach-s3c2442/Kconfig | 4 | ||||
-rw-r--r-- | arch/arm/mach-s3c2442/mach-gta02.c | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c2442/Kconfig b/arch/arm/mach-s3c2442/Kconfig index 103e913f2258..8d3811852fc7 100644 --- a/arch/arm/mach-s3c2442/Kconfig +++ b/arch/arm/mach-s3c2442/Kconfig | |||
@@ -1,5 +1,3 @@ | |||
1 | # arch/arm/mach-s3c2442/Kconfig | ||
2 | # | ||
3 | # Copyright 2007 Simtec Electronics | 1 | # Copyright 2007 Simtec Electronics |
4 | # | 2 | # |
5 | # Licensed under GPLv2 | 3 | # Licensed under GPLv2 |
@@ -36,6 +34,4 @@ config MACH_NEO1973_GTA02 | |||
36 | help | 34 | help |
37 | Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone | 35 | Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone |
38 | 36 | ||
39 | |||
40 | endmenu | 37 | endmenu |
41 | |||
diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c index 0fb385bd9cd9..f76d6ff4aeb9 100644 --- a/arch/arm/mach-s3c2442/mach-gta02.c +++ b/arch/arm/mach-s3c2442/mach-gta02.c | |||
@@ -423,7 +423,7 @@ static struct i2c_board_info gta02_i2c_devs[] __initdata = { | |||
423 | }, | 423 | }, |
424 | }; | 424 | }; |
425 | 425 | ||
426 | static struct s3c2410_nand_set gta02_nand_sets[] = { | 426 | static struct s3c2410_nand_set __initdata gta02_nand_sets[] = { |
427 | [0] = { | 427 | [0] = { |
428 | /* | 428 | /* |
429 | * This name is also hard-coded in the boot loaders, so | 429 | * This name is also hard-coded in the boot loaders, so |
@@ -442,7 +442,7 @@ static struct s3c2410_nand_set gta02_nand_sets[] = { | |||
442 | * data sheet (K5D2G13ACM-D075 MCP Memory). | 442 | * data sheet (K5D2G13ACM-D075 MCP Memory). |
443 | */ | 443 | */ |
444 | 444 | ||
445 | static struct s3c2410_platform_nand gta02_nand_info = { | 445 | static struct s3c2410_platform_nand __initdata gta02_nand_info = { |
446 | .tacls = 0, | 446 | .tacls = 0, |
447 | .twrph0 = 25, | 447 | .twrph0 = 25, |
448 | .twrph1 = 15, | 448 | .twrph1 = 15, |
@@ -621,9 +621,9 @@ static void __init gta02_machine_init(void) | |||
621 | #endif | 621 | #endif |
622 | 622 | ||
623 | s3c_device_usb.dev.platform_data = >a02_usb_info; | 623 | s3c_device_usb.dev.platform_data = >a02_usb_info; |
624 | s3c_device_nand.dev.platform_data = >a02_nand_info; | ||
625 | 624 | ||
626 | s3c24xx_udc_set_platdata(>a02_udc_cfg); | 625 | s3c24xx_udc_set_platdata(>a02_udc_cfg); |
626 | s3c_nand_set_platdata(>a02_nand_info); | ||
627 | s3c_i2c0_set_platdata(NULL); | 627 | s3c_i2c0_set_platdata(NULL); |
628 | 628 | ||
629 | i2c_register_board_info(0, gta02_i2c_devs, ARRAY_SIZE(gta02_i2c_devs)); | 629 | i2c_register_board_info(0, gta02_i2c_devs, ARRAY_SIZE(gta02_i2c_devs)); |