diff options
Diffstat (limited to 'arch/arm/mach-sa1100/pleb.c')
-rw-r--r-- | arch/arm/mach-sa1100/pleb.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/mach-sa1100/pleb.c b/arch/arm/mach-sa1100/pleb.c index 83be1c6c5f80..e45d3a1890bc 100644 --- a/arch/arm/mach-sa1100/pleb.c +++ b/arch/arm/mach-sa1100/pleb.c | |||
@@ -8,11 +8,10 @@ | |||
8 | #include <linux/ioport.h> | 8 | #include <linux/ioport.h> |
9 | #include <linux/platform_device.h> | 9 | #include <linux/platform_device.h> |
10 | #include <linux/irq.h> | 10 | #include <linux/irq.h> |
11 | 11 | #include <linux/io.h> | |
12 | #include <linux/mtd/partitions.h> | 12 | #include <linux/mtd/partitions.h> |
13 | 13 | ||
14 | #include <mach/hardware.h> | 14 | #include <mach/hardware.h> |
15 | #include <asm/io.h> | ||
16 | #include <asm/setup.h> | 15 | #include <asm/setup.h> |
17 | #include <asm/mach-types.h> | 16 | #include <asm/mach-types.h> |
18 | 17 | ||
@@ -39,8 +38,8 @@ | |||
39 | 38 | ||
40 | static struct resource smc91x_resources[] = { | 39 | static struct resource smc91x_resources[] = { |
41 | [0] = { | 40 | [0] = { |
42 | .start = PLEB_ETH0_P, | 41 | .start = PLEB_ETH0_P, |
43 | .end = PLEB_ETH0_P | 0x03ffffff, | 42 | .end = PLEB_ETH0_P | 0x03ffffff, |
44 | .flags = IORESOURCE_MEM, | 43 | .flags = IORESOURCE_MEM, |
45 | }, | 44 | }, |
46 | #if 0 /* Autoprobe instead, to get rising/falling edge characteristic right */ | 45 | #if 0 /* Autoprobe instead, to get rising/falling edge characteristic right */ |
@@ -87,15 +86,15 @@ static struct resource pleb_flash_resources[] = { | |||
87 | static struct mtd_partition pleb_partitions[] = { | 86 | static struct mtd_partition pleb_partitions[] = { |
88 | { | 87 | { |
89 | .name = "blob", | 88 | .name = "blob", |
90 | .offset = 0, | 89 | .offset = 0, |
91 | .size = 0x00020000, | 90 | .size = 0x00020000, |
92 | }, { | 91 | }, { |
93 | .name = "kernel", | 92 | .name = "kernel", |
94 | .offset = MTDPART_OFS_APPEND, | 93 | .offset = MTDPART_OFS_APPEND, |
95 | .size = 0x000e0000, | 94 | .size = 0x000e0000, |
96 | }, { | 95 | }, { |
97 | .name = "rootfs", | 96 | .name = "rootfs", |
98 | .offset = MTDPART_OFS_APPEND, | 97 | .offset = MTDPART_OFS_APPEND, |
99 | .size = 0x00300000, | 98 | .size = 0x00300000, |
100 | } | 99 | } |
101 | }; | 100 | }; |