aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/board-sx1.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1/board-sx1.c')
-rw-r--r--arch/arm/mach-omap1/board-sx1.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/mach-omap1/board-sx1.c b/arch/arm/mach-omap1/board-sx1.c
index 0a8d3349149c..29e526235dc2 100644
--- a/arch/arm/mach-omap1/board-sx1.c
+++ b/arch/arm/mach-omap1/board-sx1.c
@@ -266,31 +266,6 @@ static struct physmap_flash_data sx1_flash_data = {
266 .nr_parts = ARRAY_SIZE(sx1_partitions), 266 .nr_parts = ARRAY_SIZE(sx1_partitions),
267}; 267};
268 268
269#ifdef CONFIG_SX1_OLD_FLASH
270/* MTD Intel StrataFlash - old flashes */
271static struct resource sx1_old_flash_resource[] = {
272 [0] = {
273 .start = OMAP_CS0_PHYS, /* Physical */
274 .end = OMAP_CS0_PHYS + SZ_16M - 1,,
275 .flags = IORESOURCE_MEM,
276 },
277 [1] = {
278 .start = OMAP_CS1_PHYS,
279 .end = OMAP_CS1_PHYS + SZ_8M - 1,
280 .flags = IORESOURCE_MEM,
281 },
282};
283
284static struct platform_device sx1_flash_device = {
285 .name = "physmap-flash",
286 .id = 0,
287 .dev = {
288 .platform_data = &sx1_flash_data,
289 },
290 .num_resources = 2,
291 .resource = &sx1_old_flash_resource,
292};
293#else
294/* MTD Intel 4000 flash - new flashes */ 269/* MTD Intel 4000 flash - new flashes */
295static struct resource sx1_new_flash_resource = { 270static struct resource sx1_new_flash_resource = {
296 .start = OMAP_CS0_PHYS, 271 .start = OMAP_CS0_PHYS,
@@ -307,7 +282,6 @@ static struct platform_device sx1_flash_device = {
307 .num_resources = 1, 282 .num_resources = 1,
308 .resource = &sx1_new_flash_resource, 283 .resource = &sx1_new_flash_resource,
309}; 284};
310#endif
311 285
312/*----------- USB -------------------------*/ 286/*----------- USB -------------------------*/
313 287