This patch adds the FEATURE_WRSR_WREN bit to the feature_bits for all supported Macronix SPI flash chips.
FWIW, the datasheets I used were for the MX25L1005/2005/4005/8005, MX25L1605D/3205D/6405D, MX25L3235D, MX25L512, MX25L2805D. All of them specify in the exact same wording that "Before sending WRSR instruction, the Write Enable (WREN) instruction must be decoded and executed to set the Write Enable Latch (WEL) bit in advance."
Signed-off-by: David Hendricks dhendrix@google.com
On 14.08.2010 00:55, David Hendricks wrote:
This patch adds the FEATURE_WRSR_WREN bit to the feature_bits for all supported Macronix SPI flash chips.
FWIW, the datasheets I used were for the MX25L1005/2005/4005/8005, MX25L1605D/3205D/6405D, MX25L3235D, MX25L512, MX25L2805D. All of them specify in the exact same wording that "Before sending WRSR instruction, the Write Enable (WREN) instruction must be decoded and executed to set the Write Enable Latch (WEL) bit in advance."
Signed-off-by: David Hendricks dhendrix@google.com
Thanks, I also checked the datasheets for the eLiteFlash variants of the older chips and confirmed your data.
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net and committed in r1150.
Regards, Carl-Daniel