commit | 750f3acdd87e5da0a48c537197b6d8d04953b258 | [log] [tgz] |
---|---|---|
author | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | Fri Jun 21 15:56:30 2013 +0530 |
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | Sun Jun 23 22:02:51 2013 +0530 |
tree | 76c2bd6819b12b69877c25ef8aaa34f26dba0f30 | |
parent | 542dce78e9172a120e61de1ee2b549b3168ecd94 [diff] |
sf: Add flag status register polling support Flag status register polling is required for micron 512Mb flash devices onwards, for performing erase/program operations. Like polling for WIP(Write-In-Progress) bit in read status register, spi_flash_cmd_wait_ready will poll for PEC(Program-Erase-Control) bit in flag status register. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>