]> git.sur5r.net Git - u-boot/commit
sf: probe: Fix quad bit set path
authorPoddar, Sourav <sourav.poddar@ti.com>
Wed, 23 Apr 2014 13:27:03 +0000 (18:57 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 8 Jun 2014 17:42:27 +0000 (23:12 +0530)
commit1f436a6ddf7eb7f2da1c8df6c13100429baf844a
treea49d3b073d8f2a461962be31dec7108789ae258e
parentc1c0dd2644d6bdd64f5d36528d801d14832f6394
sf: probe: Fix quad bit set path

Currently, flash quad bit is set in "spi_flash_validate_params" and later
at the end in the same api, we write 0 to status register for few flashes,
thereby overriding the quad bit set. This fix moves the quad bit setting
outside this api in "spi_flash_probe_slave"

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/sf_probe.c