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 -mike _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot