[PATCH 2/3] mtd: spinand: winbond: Add missing QE bit on W25NxxJW devices

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Sun Apr 5 11:07:43 CEST 2026


Hi

On Fri, Apr 3, 2026 at 6:17 PM Miquel Raynal <miquel.raynal at bootlin.com> wrote:
>
> These devices have a bit in their status register to enable the Quad
> capability, make sure it is set when using quad mode.
>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
>  drivers/mtd/nand/spi/winbond.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c
> index a89aaec516b7..79c3354efb65 100644
> --- a/drivers/mtd/nand/spi/winbond.c
> +++ b/drivers/mtd/nand/spi/winbond.c
> @@ -398,7 +398,7 @@ static const struct spinand_info winbond_spinand_table[] = {
>                      SPINAND_INFO_OP_VARIANTS(&read_cache_dual_quad_dtr_variants,
>                                               &write_cache_variants,
>                                               &update_cache_variants),
> -                    0,
> +                    SPINAND_HAS_QE_BIT,
>                      SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL),
>                      SPINAND_CONFIGURE_CHIP(w25n0xjw_hs_cfg)),
>         SPINAND_INFO("W25N01KV", /* 3.3V */
> @@ -458,7 +458,7 @@ static const struct spinand_info winbond_spinand_table[] = {
>                      SPINAND_INFO_OP_VARIANTS(&read_cache_dual_quad_dtr_variants,
>                                               &write_cache_variants,
>                                               &update_cache_variants),
> -                    0,
> +                    SPINAND_HAS_QE_BIT,
>                      SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL),
>                      SPINAND_CONFIGURE_CHIP(w25n0xjw_hs_cfg)),
>         SPINAND_INFO("W25N02KV", /* 3.3V */

Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>

>
> --
> 2.53.0
>


-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list