Re: [Qemu-devel] [PATCH v6 08/13] m25p80: Initial implementation of SPI flash device

2012-09-22 Thread Blue Swirl
On Thu, Sep 20, 2012 at 1:37 AM, Peter Crosthwaite wrote: > On Thu, Sep 20, 2012 at 4:25 AM, Blue Swirl wrote: >> On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite >>> +int64_t dirty_page; >>> + >>> +uint64_t waddr; >>> +int write_enable; >>> + >>> +char *part_name; >> >> W

Re: [Qemu-devel] [PATCH v6 08/13] m25p80: Initial implementation of SPI flash device

2012-09-19 Thread Peter Crosthwaite
On Thu, Sep 20, 2012 at 4:25 AM, Blue Swirl wrote: > On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite >> +int64_t dirty_page; >> + >> +uint64_t waddr; >> +int write_enable; >> + >> +char *part_name; > > With 'const char *' here.. > >> +const FlashPartInfo *pi; >> + >> +

Re: [Qemu-devel] [PATCH v6 08/13] m25p80: Initial implementation of SPI flash device

2012-09-19 Thread Blue Swirl
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite wrote: > Added device model for m25p80 style SPI flash family. > > Signed-off-by: Peter A. G. Crosthwaite > --- > changed from v4: > Added write-1 flag (EEPROM mode). > n25q128 table entry indentation fix. > updated for new SSI interface. >

Re: [Qemu-devel] [PATCH v6 08/13] m25p80: Initial implementation of SPI flash device

2012-09-19 Thread Blue Swirl
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite wrote: > Added device model for m25p80 style SPI flash family. > > Signed-off-by: Peter A. G. Crosthwaite > --- > changed from v4: > Added write-1 flag (EEPROM mode). > n25q128 table entry indentation fix. > updated for new SSI interface. >

[Qemu-devel] [PATCH v6 08/13] m25p80: Initial implementation of SPI flash device

2012-09-17 Thread Peter A. G. Crosthwaite
Added device model for m25p80 style SPI flash family. Signed-off-by: Peter A. G. Crosthwaite --- changed from v4: Added write-1 flag (EEPROM mode). n25q128 table entry indentation fix. updated for new SSI interface. various debug messages cleaned up and added. changed from v3: changed licence to