summaryrefslogtreecommitdiffstats
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2014-01-12 21:38:21 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2014-01-12 21:38:21 +0530
commit2ba863fae628bb5fe2ec4b803f639c1edb55ea33 (patch)
tree76db8fc3bc04aad7a0bb92143f5e4315d5aa6459 /include/spi_flash.h
parent9f4322fd2281d9736b9fd208a5e2ecaec49e21e0 (diff)
downloadblackbird-obmc-uboot-2ba863fae628bb5fe2ec4b803f639c1edb55ea33.tar.gz
blackbird-obmc-uboot-2ba863fae628bb5fe2ec4b803f639c1edb55ea33.zip
sf: Code cleanups
- comment typo's - func args have a proper names Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index 437937cfc6..213d6592be 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -19,7 +19,10 @@
#include <linux/types.h>
#include <linux/compiler.h>
-/* No enum list for write commands only QPP */
+/* sf param flags */
+#define SECT_4K 1 << 1
+#define SECT_32K 1 << 2
+#define E_FSR 1 << 3
#define WR_QPP 1 << 4
/* Enum list - Full read commands */
OpenPOWER on IntegriCloud