diff options
author | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2014-01-11 16:50:45 +0530 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2014-01-11 16:50:45 +0530 |
commit | ff063ed4808e4ead3021eaf53ee4fdb80c9e91f8 (patch) | |
tree | 048ac50a568a8d739a9a8528bbaf7018c27b6aa3 /drivers/mtd/spi/sf_internal.h | |
parent | c4ba0d82d329791c3f0456d88e93032b11e48535 (diff) | |
download | u-boot-imx-ff063ed4808e4ead3021eaf53ee4fdb80c9e91f8.zip u-boot-imx-ff063ed4808e4ead3021eaf53ee4fdb80c9e91f8.tar.gz u-boot-imx-ff063ed4808e4ead3021eaf53ee4fdb80c9e91f8.tar.bz2 |
sf: Discover read dummy_byte
Discovered the read dummy_byte based on the
configured read command.
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'drivers/mtd/spi/sf_internal.h')
-rw-r--r-- | drivers/mtd/spi/sf_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/spi/sf_internal.h b/drivers/mtd/spi/sf_internal.h index 7be0292..a9f5a81 100644 --- a/drivers/mtd/spi/sf_internal.h +++ b/drivers/mtd/spi/sf_internal.h @@ -10,6 +10,8 @@ #ifndef _SF_INTERNAL_H_ #define _SF_INTERNAL_H_ +#define SPI_FLASH_3B_ADDR_LEN 3 +#define SPI_FLASH_CMD_LEN (1 + SPI_FLASH_3B_ADDR_LEN) #define SPI_FLASH_16MB_BOUN 0x1000000 /* CFI Manufacture ID's */ |