BAR and spi_flash_cmd_wait_ready are updated to make more module to add new status checks.
Changes for v2: - Update bank_sel for non-bar case. - split the spi_flash_cmd_wait_ready logic into SR and FSR patches. Clone spi-nor branch u-boot-spi.git repo for changes http://git.denx.de/?p=u-boot/u-boot-spi.git;a=tree;h=refs/heads/spi-nor;hb=refs/heads/spi-nor Jagan Teki (7): spi: zynq_spi: Remove unneeded headers sf: Return proper bank_sel, if flash->bank_curr == bank_sel sf: Make BAR discovery, as spi_flash_read_bar sf: Optimize BAR write code sf: Make flash->flags use for generic usage sf: Update status reg check in spi_flash_cmd_wait_ready sf: Add FSR support to spi_flash_cmd_wait_ready drivers/mtd/spi/sf_internal.h | 5 ++ drivers/mtd/spi/sf_ops.c | 151 +++++++++++++++++++++--------------------- drivers/mtd/spi/sf_probe.c | 64 ++++++++++-------- drivers/spi/zynq_spi.c | 6 +- include/spi_flash.h | 6 +- 5 files changed, 121 insertions(+), 111 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot