diff options
author | Jagan Teki <jteki@openedev.com> | 2015-09-02 11:39:50 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-10-25 20:17:03 +0530 |
commit | 4efad20a175119f1a82b58d3197df4c20ae85934 (patch) | |
tree | ef02e7aeb7fc8243664e5110121bdd619cb63632 /include | |
parent | 1fabefddfce1bc79a3d704501efdaa053442b8c1 (diff) | |
download | u-boot-imx-4efad20a175119f1a82b58d3197df4c20ae85934.zip u-boot-imx-4efad20a175119f1a82b58d3197df4c20ae85934.tar.gz u-boot-imx-4efad20a175119f1a82b58d3197df4c20ae85934.tar.bz2 |
sf: Update status reg check in spi_flash_cmd_wait_ready
Current flash wait_ready logic is not modular to add new
register status check, hence updated the status check for
adding few more register checks in future.
Below are the sf speed runs with 'sf update' on whole flash, 16MiB.
=> sf update 0x100 0x0 0x1000000
device 0 whole chip
16777216 bytes written, 0 bytes skipped in 59.564s, speed 289262 B/s
=> sf update 0x100 0x0 0x1000000
device 0 whole chip
16777216 bytes written, 0 bytes skipped in 62.549s, speed 275036 B/s
=> sf update 0x100 0x0 0x1000000
device 0 whole chip
16777216 bytes written, 0 bytes skipped in 61.276s, speed 284359 B/s
Cc: Simon Glass <sjg@chromium.org>
Cc: Marek Vasut <marex@denx.de>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Tom Warren <twarren@nvidia.com>
Cc: Tom Rini <trini@konsulko.com>
Tested-by: Jagan Teki <jteki@openedev.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions