diff options
| author | Ladislav Michl <ladis@linux-mips.org> | 2018-01-12 08:18:00 -0500 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2018-01-12 10:41:15 -0500 |
| commit | 2514830b8b8ca966fae35103070984c2e847b2b9 (patch) | |
| tree | 5f9c71b7313f27d1510e1fef9fc1b2be2267748e /include/linux/platform_data | |
| parent | a758f50f10cfcf863f95372ff52e0d8d22fda9ba (diff) | |
ARM: OMAP2+: Remove gpmc-onenand
As OneNAND driver is now using devicetree gpmc-onenand and its
platform data is unused and can be removed.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mtd-onenand-omap2.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/linux/platform_data/mtd-onenand-omap2.h b/include/linux/platform_data/mtd-onenand-omap2.h deleted file mode 100644 index 56ff0e6f5ad1..000000000000 --- a/include/linux/platform_data/mtd-onenand-omap2.h +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2006 Nokia Corporation | ||
| 3 | * Author: Juha Yrjola | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | ||
| 9 | |||
| 10 | #ifndef __MTD_ONENAND_OMAP2_H | ||
| 11 | #define __MTD_ONENAND_OMAP2_H | ||
| 12 | |||
| 13 | #include <linux/mtd/mtd.h> | ||
| 14 | #include <linux/mtd/partitions.h> | ||
| 15 | |||
| 16 | #define ONENAND_SYNC_READ (1 << 0) | ||
| 17 | #define ONENAND_SYNC_READWRITE (1 << 1) | ||
| 18 | #define ONENAND_IN_OMAP34XX (1 << 2) | ||
| 19 | |||
| 20 | struct omap_onenand_platform_data { | ||
| 21 | int cs; | ||
| 22 | int gpio_irq; | ||
| 23 | struct mtd_partition *parts; | ||
| 24 | int nr_parts; | ||
| 25 | int (*onenand_setup)(void __iomem *, int *freq_ptr); | ||
| 26 | int dma_channel; | ||
| 27 | u8 flags; | ||
| 28 | u8 regulator_can_sleep; | ||
| 29 | u8 skip_initial_unlocking; | ||
| 30 | |||
| 31 | /* for passing the partitions */ | ||
| 32 | struct device_node *of_node; | ||
| 33 | }; | ||
| 34 | #endif | ||
