From: Simon Guinot Date: Mon, 2 May 2011 20:11:57 +0000 Subject: [U-Boot] [PATCH v3 1/5] sf: disable write protection for Macronix flash In-Reply-To: References: <1304329121-16245-1-git-send-email-simon.guinot@sequanux.org> <1304329121-16245-2-git-send-email-simon.guinot@sequanux.org> Message-ID: <20110502201157.GN19806@kw.sim.vm.gnt> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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