summaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-07-01 15:38:12 -0400
committerTom Rini <trini@konsulko.com>2015-07-01 15:38:12 -0400
commit891b487098ee2169a16b1bbb354aaef28aa90630 (patch)
treedac06e8de18355c574eaf47fe29d75873ce0fda6 /include/spi_flash.h
parent6762ae68887d962e1a4be193672005bdefd3ee32 (diff)
parent8aa5f1d971df0f668144759991e19b5195606a32 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index f2814ef41a..3b2d555c77 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -37,13 +37,15 @@ struct spi_slave;
* struct spi_flash - SPI flash structure
*
* @spi: SPI slave
+ * @dev: SPI flash device
+ * @flags: Indication of spi flash flags
* @name: Name of SPI flash
- * @dual_flash: Indicates dual flash memories - dual stacked, parallel
+ * @dual_flash: Indicates dual flash memories - dual stacked, parallel
* @shift: Flash shift useful in dual parallel
* @size: Total flash size
* @page_size: Write (page) size
* @sector_size: Sector size
- * @erase_size: Erase size
+ * @erase_size: Erase size
* @bank_read_cmd: Bank read cmd
* @bank_write_cmd: Bank write cmd
* @bank_curr: Current flash bank
@@ -51,8 +53,8 @@ struct spi_slave;
* @erase_cmd: Erase cmd 4K, 32K, 64K
* @read_cmd: Read cmd - Array Fast, Extn read and quad read.
* @write_cmd: Write cmd - page and quad program.
- * @dummy_byte: Dummy cycles for read operation.
- * @memory_map: Address of read-only SPI flash access
+ * @dummy_byte: Dummy cycles for read operation.
+ * @memory_map: Address of read-only SPI flash access
* @read: Flash read ops: Read len bytes at offset into buf
* Supported cmds: Fast Array Read
* @write: Flash write ops: Write len bytes from buf into offset