sf: Fix look for the fastest read command
authorJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Fri, 12 Dec 2014 14:06:11 +0000 (19:36 +0530)
committerSimon Glass <sjg@chromium.org>
Sat, 13 Dec 2014 22:08:04 +0000 (15:08 -0700)
commit6dd6e90e13acc4014634d78fc469e7e82eefc255
tree183eb7d1375c584563ad99d54b2a95a79afc5611
parentf46f3f356f684a20d1ccb50c943536591a7697f3
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>
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_params.c
drivers/mtd/spi/sf_probe.c