aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2015-08-06 10:39:35 -0400
committerRoger Quadros <rogerq@ti.com>2016-04-15 04:55:37 -0400
commit10f22ee367c4aff7841da6a83c10445d7d6328d9 (patch)
tree31223517cf21ef6b15b86a65804bbc8b4e2ddcae /include/linux
parent9e6946215dbd9803e8b511928c9f61f3a49e2c58 (diff)
mtd: nand: omap2: Implement NAND ready using gpiolib
The GPMC WAIT pin status are now available over gpiolib. Update the omap_dev_ready() function to use gpio instead of directly accessing GPMC register space. Signed-off-by: Roger Quadros <rogerq@ti.com> Acked-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/platform_data/mtd-nand-omap2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h
index 7f6de5377f80..17d57a18bac5 100644
--- a/include/linux/platform_data/mtd-nand-omap2.h
+++ b/include/linux/platform_data/mtd-nand-omap2.h
@@ -71,7 +71,6 @@ struct omap_nand_platform_data {
71 int cs; 71 int cs;
72 struct mtd_partition *parts; 72 struct mtd_partition *parts;
73 int nr_parts; 73 int nr_parts;
74 bool dev_ready;
75 bool flash_bbt; 74 bool flash_bbt;
76 enum nand_io xfer_type; 75 enum nand_io xfer_type;
77 int devsize; 76 int devsize;
@@ -82,5 +81,6 @@ struct omap_nand_platform_data {
82 /* deprecated */ 81 /* deprecated */
83 struct gpmc_nand_regs reg; 82 struct gpmc_nand_regs reg;
84 struct device_node *of_node; 83 struct device_node *of_node;
84 bool dev_ready;
85}; 85};
86#endif 86#endif