On Mon, May 2, 2011 at 04:53, Prafulla Wadaskar wrote:
> From: Simon Guinot [mailto:sgui...@lacie.com]
>> --- a/drivers/mtd/spi/macronix.c
>> +++ b/drivers/mtd/spi/macronix.c
>> + if (macronix_disable_protect(&mcx->flash))
>> + printf("SF: disable write protection failed\n");
>
> Th
Subject: Re: [U-Boot] [PATCH v2 2/6] sf: disable write protection for
> Macronix flash
>
> Hi Prafulla,
>
> On Mon, May 02, 2011 at 01:53:29AM -0700, Prafulla Wadaskar wrote:
> > > static int macronix_write(struct spi_flash *flash,
> > >
Hi Prafulla,
On Mon, May 02, 2011 at 01:53:29AM -0700, Prafulla Wadaskar wrote:
> > static int macronix_write(struct spi_flash *flash,
> > u32 offset, size_t len, const void *buf)
> > {
> > @@ -223,5 +307,8 @@ struct spi_flash *spi_flash_probe_macronix(struct
> > spi_slave
> -Original Message-
> From: Simon Guinot [mailto:sgui...@lacie.com]
> Sent: Monday, May 02, 2011 2:40 AM
> To: Prafulla Wadaskar; Albert ARIBAUD; Wolfgang Denk
> Cc: u-boot@lists.denx.de; Simon Guinot
> Subject: [PATCH v2 2/6] sf: disable write protection for Macronix flash
>
> Signed-o
this needs to be rewritten to use the common spi flash code. please
see the sst_unlock func for an example of how to do this.
-mike
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
5 matches
Mail list logo