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

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


On 28 December 2015 at 14:30, Jagan Teki <jteki at openedev.com> wrote:
> One macronix quad bit set using SR, 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>
> 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