Re: [OpenWrt-Devel] 回复:[PATCH] ramips: reset m25p80 when shutdown

2015-11-21 Thread Daniel Golle
On Sat, Nov 21, 2015 at 09:41:25PM +0100, John Crispin wrote: > Hi, > > one more request > > On 16/11/2015 18:03, 未命名 wrote: > > Instead of use the set_4byte function in spi-nor.c, I use this patch > > for simplest modification. In fact, set_4byte also send 0xe9 command to > > the spi flash. Usi

Re: [OpenWrt-Devel] 回复:[PATCH] ramips: reset m25p80 when shutdown

2015-11-21 Thread John Crispin
Hi, one more request On 16/11/2015 18:03, 未命名 wrote: > Instead of use the set_4byte function in spi-nor.c, I use this patch > for simplest modification. In fact, set_4byte also send 0xe9 command to > the spi flash. > > Signed-off-by: Shonn Lu > --- > .../0064-reset-m25p80-when-shutdown.patch

[OpenWrt-Devel] 回复:[PATCH] ramips: reset m25p80 when shutdown

2015-11-16 Thread 未命名
Instead of use the set_4byte function in spi-nor.c, I use this patch for simplest modification. In fact, set_4byte also send 0xe9 command to the spi flash. Signed-off-by: Shonn Lu --- .../0064-reset-m25p80-when-shutdown.patch | 27 ++ 1 file changed, 27 insertions

[OpenWrt-Devel] 回复: [PATCH] ramips: reset m25p80 when shutdown

2015-11-11 Thread 未命名
http://www.winbond.com.tw/resource-files/w25q256fv_revh_02112015.pdf The datasheet above shows that w25q256fv also use E9h to exit 4-Byte mode.___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinf

[OpenWrt-Devel] 回复: [PATCH] ramips: reset m25p80 when shutdown

2015-11-11 Thread 未命名
I do not test this patch on all the 32MB spi flash except my Youku YK1 router.I am looking forward to a generic shutdown function which adapt to Macronix or Winbond. Cheers Shonn___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lis