[U-Boot] [PATCH v3 2/4] sf: Read back and check once spansion quad bit set

Jagan Teki jteki at openedev.com
Mon Dec 28 13:32:30 CET 2015


On 28 December 2015 at 14:30, Jagan Teki <jteki at openedev.com> wrote:
> One spansion quad bit set using CR, it's good to
> read back and check the written bit and also if
> it's already been set check for the bit and return.
>
> Cc: Vignesh R <vigneshr at ti.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Cc: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
> Tested-by: Mugunthan V N <mugunthanvnm at ti.com>
> Signed-off-by: Jagan Teki <jteki at openedev.com>
> ---
> Changes for v3:
>         - Fixed if statement for 'quad bit not clear'
> Changes for v2:
>         - none
>
>  drivers/mtd/spi/spi_flash.c | 18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)

Applied to u-boot-spi/master

thanks!
-- 
Jagan.


More information about the U-Boot mailing list