aboutsummaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorJagan Teki2015-06-27 00:51:30 +0530
committerJagan Teki2015-07-01 21:15:03 +0530
commit5d69df3541c3c1a40ed71ff250b9c98bf2b9f582 (patch)
tree2827cf762b4498352aa831b3bd28280bdb4c96a6 /include/spi_flash.h
parentff6e31d3a108ea2f9448597f29c1c3bde48a057b (diff)
spi/sf: Minor cleanups
- Adjust tab spaces - Add comments Signed-off-by: Jagan Teki <jteki@openedev.com>
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 f2814ef41a0..3b2d555c77b 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