From 06f317b5e47b2309206ac1267637daf998ab25cc Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Sat, 2 Apr 2011 05:44:46 +0000 Subject: [PATCH] [generic] flash_chips: Removed forced recognition of Macronix MX29LV640T flash chip. It should be recognized by the CFI and not need forcing. User has not since replied. SVN-Revision: 26400 --- ...ice-gate-add-mx29lv640t-chip-support.patch | 30 ------------------- ...ice-gate-add-mx29lv640t-chip-support.patch | 30 ------------------- ...ice-gate-add-mx29lv640t-chip-support.patch | 30 ------------------- ...ice-gate-add-mx29lv640t-chip-support.patch | 30 ------------------- 4 files changed, 120 deletions(-) delete mode 100644 target/linux/generic/patches-2.6.35/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch delete mode 100644 target/linux/generic/patches-2.6.36/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch delete mode 100644 target/linux/generic/patches-2.6.37/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch delete mode 100644 target/linux/generic/patches-2.6.38/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch diff --git a/target/linux/generic/patches-2.6.35/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch b/target/linux/generic/patches-2.6.35/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch deleted file mode 100644 index e110162a86..0000000000 --- a/target/linux/generic/patches-2.6.35/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/drivers/mtd/chips/jedec_probe.c -+++ b/drivers/mtd/chips/jedec_probe.c -@@ -105,6 +105,7 @@ - #define MX29LV040C 0x004F - #define MX29LV160T 0x22C4 - #define MX29LV160B 0x2249 -+#define MX29LV640T 0x227e - #define MX29F040 0x00A4 - #define MX29F016 0x00AD - #define MX29F002T 0x00B0 -@@ -1162,6 +1163,19 @@ static const struct amd_flash_info jedec - ERASEINFO(0x04000,1) - } - }, { -+ .mfr_id = CFI_MFR_MACRONIX, -+ .dev_id = MX29LV640T, -+ .name = "Macronix MX29LV640T", -+ .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8, -+ .uaddr = MTD_UADDR_0x0AAA_0x0555, -+ .dev_size = SIZE_8MiB, -+ .cmd_set = P_ID_AMD_STD, -+ .nr_regions = 2, -+ .regions = { -+ ERASEINFO(0x10000,127), -+ ERASEINFO(0x02000,8) -+ } -+ }, { - .mfr_id = CFI_MFR_NEC, - .dev_id = UPD29F064115, - .name = "NEC uPD29F064115", diff --git a/target/linux/generic/patches-2.6.36/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch b/target/linux/generic/patches-2.6.36/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch deleted file mode 100644 index e110162a86..0000000000 --- a/target/linux/generic/patches-2.6.36/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/drivers/mtd/chips/jedec_probe.c -+++ b/drivers/mtd/chips/jedec_probe.c -@@ -105,6 +105,7 @@ - #define MX29LV040C 0x004F - #define MX29LV160T 0x22C4 - #define MX29LV160B 0x2249 -+#define MX29LV640T 0x227e - #define MX29F040 0x00A4 - #define MX29F016 0x00AD - #define MX29F002T 0x00B0 -@@ -1162,6 +1163,19 @@ static const struct amd_flash_info jedec - ERASEINFO(0x04000,1) - } - }, { -+ .mfr_id = CFI_MFR_MACRONIX, -+ .dev_id = MX29LV640T, -+ .name = "Macronix MX29LV640T", -+ .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8, -+ .uaddr = MTD_UADDR_0x0AAA_0x0555, -+ .dev_size = SIZE_8MiB, -+ .cmd_set = P_ID_AMD_STD, -+ .nr_regions = 2, -+ .regions = { -+ ERASEINFO(0x10000,127), -+ ERASEINFO(0x02000,8) -+ } -+ }, { - .mfr_id = CFI_MFR_NEC, - .dev_id = UPD29F064115, - .name = "NEC uPD29F064115", diff --git a/target/linux/generic/patches-2.6.37/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch b/target/linux/generic/patches-2.6.37/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch deleted file mode 100644 index e110162a86..0000000000 --- a/target/linux/generic/patches-2.6.37/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/drivers/mtd/chips/jedec_probe.c -+++ b/drivers/mtd/chips/jedec_probe.c -@@ -105,6 +105,7 @@ - #define MX29LV040C 0x004F - #define MX29LV160T 0x22C4 - #define MX29LV160B 0x2249 -+#define MX29LV640T 0x227e - #define MX29F040 0x00A4 - #define MX29F016 0x00AD - #define MX29F002T 0x00B0 -@@ -1162,6 +1163,19 @@ static const struct amd_flash_info jedec - ERASEINFO(0x04000,1) - } - }, { -+ .mfr_id = CFI_MFR_MACRONIX, -+ .dev_id = MX29LV640T, -+ .name = "Macronix MX29LV640T", -+ .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8, -+ .uaddr = MTD_UADDR_0x0AAA_0x0555, -+ .dev_size = SIZE_8MiB, -+ .cmd_set = P_ID_AMD_STD, -+ .nr_regions = 2, -+ .regions = { -+ ERASEINFO(0x10000,127), -+ ERASEINFO(0x02000,8) -+ } -+ }, { - .mfr_id = CFI_MFR_NEC, - .dev_id = UPD29F064115, - .name = "NEC uPD29F064115", diff --git a/target/linux/generic/patches-2.6.38/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch b/target/linux/generic/patches-2.6.38/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch deleted file mode 100644 index e110162a86..0000000000 --- a/target/linux/generic/patches-2.6.38/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/drivers/mtd/chips/jedec_probe.c -+++ b/drivers/mtd/chips/jedec_probe.c -@@ -105,6 +105,7 @@ - #define MX29LV040C 0x004F - #define MX29LV160T 0x22C4 - #define MX29LV160B 0x2249 -+#define MX29LV640T 0x227e - #define MX29F040 0x00A4 - #define MX29F016 0x00AD - #define MX29F002T 0x00B0 -@@ -1162,6 +1163,19 @@ static const struct amd_flash_info jedec - ERASEINFO(0x04000,1) - } - }, { -+ .mfr_id = CFI_MFR_MACRONIX, -+ .dev_id = MX29LV640T, -+ .name = "Macronix MX29LV640T", -+ .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8, -+ .uaddr = MTD_UADDR_0x0AAA_0x0555, -+ .dev_size = SIZE_8MiB, -+ .cmd_set = P_ID_AMD_STD, -+ .nr_regions = 2, -+ .regions = { -+ ERASEINFO(0x10000,127), -+ ERASEINFO(0x02000,8) -+ } -+ }, { - .mfr_id = CFI_MFR_NEC, - .dev_id = UPD29F064115, - .name = "NEC uPD29F064115", -- 2.30.2