--- zzzz-none-000/linux-2.6.39.4/include/linux/spi/flash.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/spi/flash.h 2021-11-10 13:38:17.000000000 +0000 @@ -1,8 +1,20 @@ #ifndef LINUX_SPI_FLASH_H #define LINUX_SPI_FLASH_H +/****************************************************************** + + Includes Intel Corporation's changes/modifications dated: 12/2011. + Changed/modified portions - Copyright(c) 2011, Intel Corporation. + +******************************************************************/ + struct mtd_partition; +/* Device info for each chip select */ +struct flash_cs_info{ + unsigned int cs0_size; /* flash size in cs0 */ + unsigned int cs1_size; /* chip size in cs1 */ +}; /** * struct flash_platform_data: board-specific flash data * @name: optional flash device name (eg, as used with mtdparts=) @@ -22,6 +34,7 @@ char *name; struct mtd_partition *parts; unsigned int nr_parts; + const char **probes; char *type;