diff options
| author | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2014-01-11 15:10:28 +0530 | 
|---|---|---|
| committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2014-01-11 15:10:28 +0530 | 
| commit | 4e09cc1e2c5d22735d0fa3d2d1eaecd27e19948e (patch) | |
| tree | 756318d3d7b8fd0ba0512369cacb69f0922ed7ee /drivers/mtd/spi/sf_internal.h | |
| parent | 12f00caf61677aca8f390651546f203575e20643 (diff) | |
| download | olio-uboot-2014.01-4e09cc1e2c5d22735d0fa3d2d1eaecd27e19948e.tar.xz olio-uboot-2014.01-4e09cc1e2c5d22735d0fa3d2d1eaecd27e19948e.zip | |
sf: Add extended read commands support
Current sf uses FAST_READ command, this patch adds support to
use the different/extended read command.
This implementation will determine the fastest command by taking
the supported commands from the flash and the controller, controller
is always been a priority.
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 d291746ed..938a78efc 100644 --- a/drivers/mtd/spi/sf_internal.h +++ b/drivers/mtd/spi/sf_internal.h @@ -36,6 +36,8 @@  /* Read commands */  #define CMD_READ_ARRAY_SLOW		0x03  #define CMD_READ_ARRAY_FAST		0x0b +#define CMD_READ_DUAL_OUTPUT_FAST	0x3b +#define CMD_READ_DUAL_IO_FAST		0xbb  #define CMD_READ_ID			0x9f  /* Bank addr access commands */ |