diff options
author | Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> | 2014-12-12 19:36:11 +0530 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-12-13 15:08:04 -0700 |
commit | 6dd6e90e13acc4014634d78fc469e7e82eefc255 (patch) | |
tree | 183eb7d1375c584563ad99d54b2a95a79afc5611 /drivers/mtd/spi/sf_probe.c | |
parent | f46f3f356f684a20d1ccb50c943536591a7697f3 (diff) | |
download | u-boot-imx-6dd6e90e13acc4014634d78fc469e7e82eefc255.zip u-boot-imx-6dd6e90e13acc4014634d78fc469e7e82eefc255.tar.gz u-boot-imx-6dd6e90e13acc4014634d78fc469e7e82eefc255.tar.bz2 |
sf: Fix look for the fastest read command
Few of the spi controllers are only supports array slow
read which is quite different behaviour compared to others.
So this fix on sf will correctly handle the slow read supported
controllers.
Signed-off-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/mtd/spi/sf_probe.c')
-rw-r--r-- | drivers/mtd/spi/sf_probe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 2636426..7cde4c0 100644 --- a/drivers/mtd/spi/sf_probe.c +++ b/drivers/mtd/spi/sf_probe.c @@ -24,6 +24,7 @@ DECLARE_GLOBAL_DATA_PTR; /* Read commands array */ static u8 spi_read_cmds_array[] = { CMD_READ_ARRAY_SLOW, + CMD_READ_ARRAY_FAST, CMD_READ_DUAL_OUTPUT_FAST, CMD_READ_DUAL_IO_FAST, CMD_READ_QUAD_OUTPUT_FAST, |