diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-14 16:42:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-14 16:42:43 -0400 |
commit | 2cf4d4514d5b43c1f3b64bd0ec8b9853bde8f1dc (patch) | |
tree | e35a625496acc6ac852846d40b8851186b9d1ac4 /arch/arm/mach-kirkwood/rd88f6281-setup.c | |
parent | 44b7532b8b464f606053562400719c9c21276037 (diff) | |
parent | ce53895a5d24e0ee19fb92f56c17323fb4c9ab27 (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (417 commits)
MAINTAINERS: EB110ATX is not ebsa110
MAINTAINERS: update Eric Miao's email address and status
fb: add support of LCD display controller on pxa168/910 (base layer)
[ARM] 5552/1: ep93xx get_uart_rate(): use EP93XX_SYSCON_PWRCNT and EP93XX_SYSCON_PWRCN
[ARM] pxa/sharpsl_pm: zaurus needs generic pxa suspend/resume routines
[ARM] 5544/1: Trust PrimeCell resource sizes
[ARM] pxa/sharpsl_pm: cleanup of gpio-related code.
[ARM] pxa/sharpsl_pm: drop set_irq_type calls
[ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one
[ARM] pxa/sharpsl_pm: merge the two sharpsl_pm.c since it's now pxa specific
[ARM] sa1100: remove unused collie_pm.c
[ARM] pxa: fix the conflicting non-static declarations of global_gpios[]
[ARM] 5550/1: Add default configure file for w90p910 platform
[ARM] 5549/1: Add clock api for w90p910 platform.
[ARM] 5548/1: Add gpio api for w90p910 platform
[ARM] 5551/1: Add multi-function pin api for w90p910 platform.
[ARM] Make ARM_VIC_NR depend on ARM_VIC
[ARM] 5546/1: ARM PL022 SSP/SPI driver v3
ARM: OMAP4: SMP: Update defconfig for OMAP4430
ARM: OMAP4: SMP: Enable SMP support for OMAP4430
...
Diffstat (limited to 'arch/arm/mach-kirkwood/rd88f6281-setup.c')
-rw-r--r-- | arch/arm/mach-kirkwood/rd88f6281-setup.c | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/arch/arm/mach-kirkwood/rd88f6281-setup.c b/arch/arm/mach-kirkwood/rd88f6281-setup.c index 31e996d65fc4..31708ddbc83e 100644 --- a/arch/arm/mach-kirkwood/rd88f6281-setup.c +++ b/arch/arm/mach-kirkwood/rd88f6281-setup.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
14 | #include <linux/irq.h> | 14 | #include <linux/irq.h> |
15 | #include <linux/mtd/nand.h> | ||
16 | #include <linux/mtd/partitions.h> | 15 | #include <linux/mtd/partitions.h> |
17 | #include <linux/ata_platform.h> | 16 | #include <linux/ata_platform.h> |
18 | #include <linux/mv643xx_eth.h> | 17 | #include <linux/mv643xx_eth.h> |
@@ -22,7 +21,6 @@ | |||
22 | #include <asm/mach/arch.h> | 21 | #include <asm/mach/arch.h> |
23 | #include <mach/kirkwood.h> | 22 | #include <mach/kirkwood.h> |
24 | #include <plat/mvsdio.h> | 23 | #include <plat/mvsdio.h> |
25 | #include <plat/orion_nand.h> | ||
26 | #include "common.h" | 24 | #include "common.h" |
27 | #include "mpp.h" | 25 | #include "mpp.h" |
28 | 26 | ||
@@ -42,32 +40,6 @@ static struct mtd_partition rd88f6281_nand_parts[] = { | |||
42 | }, | 40 | }, |
43 | }; | 41 | }; |
44 | 42 | ||
45 | static struct resource rd88f6281_nand_resource = { | ||
46 | .flags = IORESOURCE_MEM, | ||
47 | .start = KIRKWOOD_NAND_MEM_PHYS_BASE, | ||
48 | .end = KIRKWOOD_NAND_MEM_PHYS_BASE + | ||
49 | KIRKWOOD_NAND_MEM_SIZE - 1, | ||
50 | }; | ||
51 | |||
52 | static struct orion_nand_data rd88f6281_nand_data = { | ||
53 | .parts = rd88f6281_nand_parts, | ||
54 | .nr_parts = ARRAY_SIZE(rd88f6281_nand_parts), | ||
55 | .cle = 0, | ||
56 | .ale = 1, | ||
57 | .width = 8, | ||
58 | .chip_delay = 25, | ||
59 | }; | ||
60 | |||
61 | static struct platform_device rd88f6281_nand_flash = { | ||
62 | .name = "orion_nand", | ||
63 | .id = -1, | ||
64 | .dev = { | ||
65 | .platform_data = &rd88f6281_nand_data, | ||
66 | }, | ||
67 | .resource = &rd88f6281_nand_resource, | ||
68 | .num_resources = 1, | ||
69 | }; | ||
70 | |||
71 | static struct mv643xx_eth_platform_data rd88f6281_ge00_data = { | 43 | static struct mv643xx_eth_platform_data rd88f6281_ge00_data = { |
72 | .phy_addr = MV643XX_ETH_PHY_NONE, | 44 | .phy_addr = MV643XX_ETH_PHY_NONE, |
73 | .speed = SPEED_1000, | 45 | .speed = SPEED_1000, |
@@ -114,6 +86,7 @@ static void __init rd88f6281_init(void) | |||
114 | kirkwood_init(); | 86 | kirkwood_init(); |
115 | kirkwood_mpp_conf(rd88f6281_mpp_config); | 87 | kirkwood_mpp_conf(rd88f6281_mpp_config); |
116 | 88 | ||
89 | kirkwood_nand_init(ARRAY_AND_SIZE(rd88f6281_nand_parts), 25); | ||
117 | kirkwood_ehci_init(); | 90 | kirkwood_ehci_init(); |
118 | 91 | ||
119 | kirkwood_ge00_init(&rd88f6281_ge00_data); | 92 | kirkwood_ge00_init(&rd88f6281_ge00_data); |
@@ -129,8 +102,6 @@ static void __init rd88f6281_init(void) | |||
129 | kirkwood_sata_init(&rd88f6281_sata_data); | 102 | kirkwood_sata_init(&rd88f6281_sata_data); |
130 | kirkwood_sdio_init(&rd88f6281_mvsdio_data); | 103 | kirkwood_sdio_init(&rd88f6281_mvsdio_data); |
131 | kirkwood_uart0_init(); | 104 | kirkwood_uart0_init(); |
132 | |||
133 | platform_device_register(&rd88f6281_nand_flash); | ||
134 | } | 105 | } |
135 | 106 | ||
136 | static int __init rd88f6281_pci_init(void) | 107 | static int __init rd88f6281_pci_init(void) |