diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-12-03 16:33:01 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-12-03 16:33:01 -0500 |
commit | f18ea8276bc6b0f8584c442905e9badc2acc8785 (patch) | |
tree | f71e3f05420f35f7eaf838d93fb83d665aedcac4 /arch/arm/mach-s3c2440/mach-anubis.c | |
parent | 3d4db84cee590dbf5b5fa49d8bcd9e1c60f2a4b5 (diff) | |
parent | 1a71e4ade19d51bab03b6837d4d33a953e4e1206 (diff) |
ARM: Merge next-s3c24xx-dev-rtp
Merge branch 'next-s3c24xx-dev-rtp' into for-rmk
Conflicts:
arch/arm/mach-s3c2440/mach-anubis.c
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-anubis.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-anubis.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c2440/mach-anubis.c b/arch/arm/mach-s3c2440/mach-anubis.c index c3705b99d15c..62a4c3eba97f 100644 --- a/arch/arm/mach-s3c2440/mach-anubis.c +++ b/arch/arm/mach-s3c2440/mach-anubis.c | |||
@@ -139,7 +139,7 @@ static int external_map[] = { 2 }; | |||
139 | static int chip0_map[] = { 0 }; | 139 | static int chip0_map[] = { 0 }; |
140 | static int chip1_map[] = { 1 }; | 140 | static int chip1_map[] = { 1 }; |
141 | 141 | ||
142 | static struct mtd_partition anubis_default_nand_part[] = { | 142 | static struct mtd_partition __initdata anubis_default_nand_part[] = { |
143 | [0] = { | 143 | [0] = { |
144 | .name = "Boot Agent", | 144 | .name = "Boot Agent", |
145 | .size = SZ_16K, | 145 | .size = SZ_16K, |
@@ -162,7 +162,7 @@ static struct mtd_partition anubis_default_nand_part[] = { | |||
162 | } | 162 | } |
163 | }; | 163 | }; |
164 | 164 | ||
165 | static struct mtd_partition anubis_default_nand_part_large[] = { | 165 | static struct mtd_partition __initdata anubis_default_nand_part_large[] = { |
166 | [0] = { | 166 | [0] = { |
167 | .name = "Boot Agent", | 167 | .name = "Boot Agent", |
168 | .size = SZ_128K, | 168 | .size = SZ_128K, |
@@ -192,7 +192,7 @@ static struct mtd_partition anubis_default_nand_part_large[] = { | |||
192 | * socket. | 192 | * socket. |
193 | */ | 193 | */ |
194 | 194 | ||
195 | static struct s3c2410_nand_set anubis_nand_sets[] = { | 195 | static struct s3c2410_nand_set __initdata anubis_nand_sets[] = { |
196 | [1] = { | 196 | [1] = { |
197 | .name = "External", | 197 | .name = "External", |
198 | .nr_chips = 1, | 198 | .nr_chips = 1, |
@@ -234,7 +234,7 @@ static void anubis_nand_select(struct s3c2410_nand_set *set, int slot) | |||
234 | __raw_writeb(tmp, ANUBIS_VA_CTRL1); | 234 | __raw_writeb(tmp, ANUBIS_VA_CTRL1); |
235 | } | 235 | } |
236 | 236 | ||
237 | static struct s3c2410_platform_nand anubis_nand_info = { | 237 | static struct s3c2410_platform_nand __initdata anubis_nand_info = { |
238 | .tacls = 25, | 238 | .tacls = 25, |
239 | .twrph0 = 55, | 239 | .twrph0 = 55, |
240 | .twrph1 = 40, | 240 | .twrph1 = 40, |
@@ -466,8 +466,6 @@ static void __init anubis_map_io(void) | |||
466 | 466 | ||
467 | s3c24xx_register_clocks(anubis_clocks, ARRAY_SIZE(anubis_clocks)); | 467 | s3c24xx_register_clocks(anubis_clocks, ARRAY_SIZE(anubis_clocks)); |
468 | 468 | ||
469 | s3c_device_nand.dev.platform_data = &anubis_nand_info; | ||
470 | |||
471 | s3c24xx_init_io(anubis_iodesc, ARRAY_SIZE(anubis_iodesc)); | 469 | s3c24xx_init_io(anubis_iodesc, ARRAY_SIZE(anubis_iodesc)); |
472 | s3c24xx_init_clocks(0); | 470 | s3c24xx_init_clocks(0); |
473 | s3c24xx_init_uarts(anubis_uartcfgs, ARRAY_SIZE(anubis_uartcfgs)); | 471 | s3c24xx_init_uarts(anubis_uartcfgs, ARRAY_SIZE(anubis_uartcfgs)); |
@@ -488,7 +486,9 @@ static void __init anubis_map_io(void) | |||
488 | static void __init anubis_init(void) | 486 | static void __init anubis_init(void) |
489 | { | 487 | { |
490 | s3c_i2c0_set_platdata(NULL); | 488 | s3c_i2c0_set_platdata(NULL); |
489 | s3c_nand_set_platdata(&anubis_nand_info); | ||
491 | simtec_audio_add(NULL, false, &anubis_audio); | 490 | simtec_audio_add(NULL, false, &anubis_audio); |
491 | |||
492 | platform_add_devices(anubis_devices, ARRAY_SIZE(anubis_devices)); | 492 | platform_add_devices(anubis_devices, ARRAY_SIZE(anubis_devices)); |
493 | 493 | ||
494 | i2c_register_board_info(0, anubis_i2c_devs, | 494 | i2c_register_board_info(0, anubis_i2c_devs, |