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-osiris.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-osiris.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-osiris.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index 9b04de2481d7..015dfb2a80da 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c | |||
@@ -150,7 +150,7 @@ static int external_map[] = { 2 }; | |||
150 | static int chip0_map[] = { 0 }; | 150 | static int chip0_map[] = { 0 }; |
151 | static int chip1_map[] = { 1 }; | 151 | static int chip1_map[] = { 1 }; |
152 | 152 | ||
153 | static struct mtd_partition osiris_default_nand_part[] = { | 153 | static struct mtd_partition __initdata osiris_default_nand_part[] = { |
154 | [0] = { | 154 | [0] = { |
155 | .name = "Boot Agent", | 155 | .name = "Boot Agent", |
156 | .size = SZ_16K, | 156 | .size = SZ_16K, |
@@ -173,7 +173,7 @@ static struct mtd_partition osiris_default_nand_part[] = { | |||
173 | } | 173 | } |
174 | }; | 174 | }; |
175 | 175 | ||
176 | static struct mtd_partition osiris_default_nand_part_large[] = { | 176 | static struct mtd_partition __initdata osiris_default_nand_part_large[] = { |
177 | [0] = { | 177 | [0] = { |
178 | .name = "Boot Agent", | 178 | .name = "Boot Agent", |
179 | .size = SZ_128K, | 179 | .size = SZ_128K, |
@@ -203,7 +203,7 @@ static struct mtd_partition osiris_default_nand_part_large[] = { | |||
203 | * socket. | 203 | * socket. |
204 | */ | 204 | */ |
205 | 205 | ||
206 | static struct s3c2410_nand_set osiris_nand_sets[] = { | 206 | static struct s3c2410_nand_set __initdata osiris_nand_sets[] = { |
207 | [1] = { | 207 | [1] = { |
208 | .name = "External", | 208 | .name = "External", |
209 | .nr_chips = 1, | 209 | .nr_chips = 1, |
@@ -245,7 +245,7 @@ static void osiris_nand_select(struct s3c2410_nand_set *set, int slot) | |||
245 | __raw_writeb(tmp, OSIRIS_VA_CTRL0); | 245 | __raw_writeb(tmp, OSIRIS_VA_CTRL0); |
246 | } | 246 | } |
247 | 247 | ||
248 | static struct s3c2410_platform_nand osiris_nand_info = { | 248 | static struct s3c2410_platform_nand __initdata osiris_nand_info = { |
249 | .tacls = 25, | 249 | .tacls = 25, |
250 | .twrph0 = 60, | 250 | .twrph0 = 60, |
251 | .twrph1 = 60, | 251 | .twrph1 = 60, |
@@ -411,8 +411,6 @@ static void __init osiris_map_io(void) | |||
411 | 411 | ||
412 | s3c24xx_register_clocks(osiris_clocks, ARRAY_SIZE(osiris_clocks)); | 412 | s3c24xx_register_clocks(osiris_clocks, ARRAY_SIZE(osiris_clocks)); |
413 | 413 | ||
414 | s3c_device_nand.dev.platform_data = &osiris_nand_info; | ||
415 | |||
416 | s3c24xx_init_io(osiris_iodesc, ARRAY_SIZE(osiris_iodesc)); | 414 | s3c24xx_init_io(osiris_iodesc, ARRAY_SIZE(osiris_iodesc)); |
417 | s3c24xx_init_clocks(0); | 415 | s3c24xx_init_clocks(0); |
418 | s3c24xx_init_uarts(osiris_uartcfgs, ARRAY_SIZE(osiris_uartcfgs)); | 416 | s3c24xx_init_uarts(osiris_uartcfgs, ARRAY_SIZE(osiris_uartcfgs)); |
@@ -442,6 +440,7 @@ static void __init osiris_init(void) | |||
442 | sysdev_register(&osiris_pm_sysdev); | 440 | sysdev_register(&osiris_pm_sysdev); |
443 | 441 | ||
444 | s3c_i2c0_set_platdata(NULL); | 442 | s3c_i2c0_set_platdata(NULL); |
443 | s3c_nand_set_platdata(&osiris_nand_info); | ||
445 | 444 | ||
446 | s3c_cpufreq_setboard(&osiris_cpufreq); | 445 | s3c_cpufreq_setboard(&osiris_cpufreq); |
447 | 446 | ||