Re: [U-Boot] [PATCH 4/6] sandbox: new SPI flash driver

2012-01-23 Thread Mike Frysinger
On Monday 23 January 2012 19:41:42 Simon Glass wrote: > On Sun, Jan 22, 2012 at 10:30 PM, Mike Frysinger wrote: > > --- /dev/null > > +++ b/drivers/mtd/spi/sandbox.c > > > > +#include > > +#include > > +#include > > +#include > > + > > +#include > > +#include "spi_flash_internal.h" > > + > > +

Re: [U-Boot] [PATCH 4/6] sandbox: new SPI flash driver

2012-01-23 Thread Simon Glass
Hi Mike, On Sun, Jan 22, 2012 at 10:30 PM, Mike Frysinger wrote: > This adds a SPI flash driver which simulates SPI flash clients. > Currently supports the bare min that U-Boot requires: you can > probe, read, erase, and write.  Should be easy to extend to make > it behave more exactly like a rea

[U-Boot] [PATCH 4/6] sandbox: new SPI flash driver

2012-01-22 Thread Mike Frysinger
This adds a SPI flash driver which simulates SPI flash clients. Currently supports the bare min that U-Boot requires: you can probe, read, erase, and write. Should be easy to extend to make it behave more exactly like a real SPI flash, but this is good enough to merge now. Signed-off-by: Mike Fry