[U-Boot] [PATCH v3 1/5] sf: disable write protection for Macronix flash

Simon Guinot simon at sequanux.org
Mon May 2 22:11:57 CEST 2011


Hi Mike,

On Mon, May 02, 2011 at 12:50:13PM -0400, Mike Frysinger wrote:
> On Mon, May 2, 2011 at 05:38, Simon Guinot wrote:
> > --- a/drivers/mtd/spi/macronix.c
> > +++ b/drivers/mtd/spi/macronix.c
> > @@ -120,6 +120,45 @@
> >        },
> >  };
> >
> > +static int macronix_write_status(struct spi_flash *flash, u8 sr)
> > +{
> > +       u8 cmd;
> > +       int ret;
> > +
> > +       ret = spi_flash_cmd(flash->spi, CMD_MX25XX_WREN, NULL, 0);
> 
> this is spi_flash_cmd_write_enable() now

I will rebase this patch against your sf branch.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110502/4228b12c/attachment.pgp 


More information about the U-Boot mailing list