Patchwork [1/2] Fix wrong Eon EN29LV040A ID.

login
register
about
Submitter Denis 'GNUtoo' Carikli
Date 2014-11-01 07:22:44
Message ID <1414826565-11324-2-git-send-email-GNUtoo@no-log.org>
Download mbox | patch
Permalink /patch/4248/
State Accepted
Headers show

Comments

Denis 'GNUtoo' Carikli - 2014-11-01 07:22:44
The wrong ID was not used.
The new one was taken from the EN29LV040A datasheet.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
---
 flashchips.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/flashchips.h b/flashchips.h
index a850e4c..8805993 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -271,51 +271,51 @@ 
 #define EON_EN25F64		0x3117
 #define EON_EN25Q40		0x3013
 #define EON_EN25Q80		0x3014
 #define EON_EN25Q16		0x3015	/* Same as EN25D16 */
 #define EON_EN25Q32		0x3016	/* Same as EN25Q32A and EN25Q32B */
 #define EON_EN25Q64		0x3017
 #define EON_EN25Q128		0x3018
 #define EON_EN25QH16		0x7015
 #define EON_EN25QH32		0x7016
 #define EON_EN25QH64		0x7017
 #define EON_EN25QH128		0x7018
 #define EON_EN25QH256		0x7019
 #define EON_EN25S10		0x3811
 #define EON_EN25S20		0x3812
 #define EON_EN25S40		0x3813
 #define EON_EN25S80		0x3814
 #define EON_EN25S16		0x3815
 #define EON_EN25S32		0x3816
 #define EON_EN25S64		0x3817
 #define EON_EN25T80		0x5114
 #define EON_EN25T16		0x5115
 #define EON_EN29F512		0x7F21
 #define EON_EN29F010		0x20
 #define EON_EN29F040A		0x7F04
 #define EON_EN29LV010		0x7F6E
-#define EON_EN29LV040A		0x7F4F	/* EN29LV040(A) */
+#define EON_EN29LV040A		0x4F	/* EN29LV040(A) */
 #define EON_EN29LV640B		0xCB
 #define EON_EN29F002T		0x7F92	/* Same as EN29F002A */
 #define EON_EN29F002B		0x7F97	/* Same as EN29F002AN */
 #define EON_EN29GL064HL		0x7E0C01	/* Uniform Sectors, WP protects Top OR Bottom sector */
 #define EON_EN29GL064T		0x7E1001	/* Same ID as EN29GL064AT */
 #define EON_EN29GL064B		0x7E1000	/* Same ID as EN29GL064AB */
 #define EON_EN29GL128HL		0x7F2101	/* Uniform Sectors, WP protects Top OR Bottom sector */
 #define EON_EN29GL256HL		0x7F2201	/* Uniform Sectors, WP protects Top OR Bottom sector */
 
 #define EXCEL_ID		0x7F7F7F7F4A	/* Excel Semiconductor Inc. (ESI) resides in bank 5 */
 #define EXCEL_ID_NOPREFIX	0x4A	/* ESI, missing 0x7F prefix */
 #define EXCEL_ES25P40		0x2013
 #define EXCEL_ES25P80		0x2014
 #define EXCEL_ES25P16		0x2015
 
 #define FIDELIX_ID		0xF8	/* Fidelix */
 #define FIDELIX_FM25M16		0x4215
 #define FIDELIX_FM25M32		0x4216
 #define FIDELIX_FM25M64		0x4217
 #define FIDELIX_FM25Q08		0x3214
 #define FIDELIX_FM25Q16		0x3215	/* Same as FM25S16 (which is apparently single I/O only) */
 #define FIDELIX_FM25Q32		0x3216
 #define FIDELIX_FM25Q64		0x3217
 
 #define FUJITSU_ID		0x04	/* Fujitsu */