Re: [Qemu-devel] [PATCH] hw/m25p80.c: add WRSR(0x01) support

2013-01-27 Thread Kuo-Jung Su
2013/1/26 Peter Crosthwaite > Hi Dante, > > On Fri, Jan 25, 2013 at 5:25 PM, Peter Crosthwaite > wrote: > > Hi Dante, > > > > Sorry about the delay, and thanks for the contribution. Please run the > > patch through the provided checkpatch script (scripts/checkpatch.pl). > > There are a few white

Re: [Qemu-devel] [PATCH] hw/m25p80.c: add WRSR(0x01) support

2013-01-25 Thread Peter Crosthwaite
Hi Dante, On Fri, Jan 25, 2013 at 5:25 PM, Peter Crosthwaite wrote: > Hi Dante, > > Sorry about the delay, and thanks for the contribution. Please run the > patch through the provided checkpatch script (scripts/checkpatch.pl). > There are a few whitespace errors that need to be fixed. Please also

Re: [Qemu-devel] [PATCH] hw/m25p80.c: add WRSR(0x01) support

2013-01-25 Thread Peter Crosthwaite
Hi Dante, Sorry about the delay, and thanks for the contribution. Please run the patch through the provided checkpatch script (scripts/checkpatch.pl). There are a few whitespace errors that need to be fixed. Please also see the comment below. Regards, Peter On Thu, Jan 17, 2013 at 10:17 PM, Dant

[Qemu-devel] [PATCH] hw/m25p80.c: add WRSR(0x01) support

2013-01-17 Thread Dante
Atmel, SST and Intel/Numonyx serial flash tend to power up with the software protection bits set. And thus the new m25p80.c in linux kernel would always tries to use WREN(0x06) + WRSR(0x01) to turn-off the protection. The WEL(0x02) of status register is supposed to be cleared after WRSR(0x01). Ther