aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/spi/flash.h')
-rw-r--r--include/linux/spi/flash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/spi/flash.h b/include/linux/spi/flash.h
index 2ce6558bf3f8..3f22932e67a4 100644
--- a/include/linux/spi/flash.h
+++ b/include/linux/spi/flash.h
@@ -8,6 +8,8 @@ struct mtd_partition;
8 * @name: optional flash device name (eg, as used with mtdparts=) 8 * @name: optional flash device name (eg, as used with mtdparts=)
9 * @parts: optional array of mtd_partitions for static partitioning 9 * @parts: optional array of mtd_partitions for static partitioning
10 * @nr_parts: number of mtd_partitions for static partitoning 10 * @nr_parts: number of mtd_partitions for static partitoning
11 * @type: optional flash device type (e.g. m25p80 vs m25p64), for use
12 * with chips that can't be queried for JEDEC or other IDs
11 * 13 *
12 * Board init code (in arch/.../mach-xxx/board-yyy.c files) can 14 * Board init code (in arch/.../mach-xxx/board-yyy.c files) can
13 * provide information about SPI flash parts (such as DataFlash) to 15 * provide information about SPI flash parts (such as DataFlash) to
@@ -21,6 +23,8 @@ struct flash_platform_data {
21 struct mtd_partition *parts; 23 struct mtd_partition *parts;
22 unsigned int nr_parts; 24 unsigned int nr_parts;
23 25
26 char *type;
27
24 /* we'll likely add more ... use JEDEC IDs, etc */ 28 /* we'll likely add more ... use JEDEC IDs, etc */
25}; 29};
26 30