[kernel] r10945 - in dists/trunk/linux-2.6/debian/patches: features/all series

Gordon Farquharson gordon-guest at alioth.debian.org
Sun Mar 23 05:55:11 UTC 2008


Author: gordon-guest
Date: Sun Mar 23 05:55:10 2008
New Revision: 10945

Log:
Rename and refresh patch to track version in -mm.


Added:
   dists/trunk/linux-2.6/debian/patches/features/all/mtd-nor-add-support-for-the-st-m29w400db-flash-chip.patch
Removed:
   dists/trunk/linux-2.6/debian/patches/features/all/add-m29w400d.patch
Modified:
   dists/trunk/linux-2.6/debian/patches/series/1~experimental.1

Added: dists/trunk/linux-2.6/debian/patches/features/all/mtd-nor-add-support-for-the-st-m29w400db-flash-chip.patch
==============================================================================
--- (empty file)
+++ dists/trunk/linux-2.6/debian/patches/features/all/mtd-nor-add-support-for-the-st-m29w400db-flash-chip.patch	Sun Mar 23 05:55:10 2008
@@ -0,0 +1,109 @@
+From: "Gordon Farquharson" <gordonfarquharson at gmail.com>
+
+Add support for the ST M29W400DB flash chip.  which is used on the GLAN Tank
+NAS.
+
+Signed-off-by: Gordon Farquharson <gordonfarquharson at gmail.com>
+Cc: David Woodhouse <dwmw2 at infradead.org>
+Cc: Thomas Gleixner <tglx at linutronix.de>
+Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
+---
+
+ drivers/mtd/chips/jedec_probe.c |   42 ++++++++++++++++++++++++++----
+ 1 file changed, 37 insertions(+), 5 deletions(-)
+
+diff -puN drivers/mtd/chips/jedec_probe.c~mtd-nor-add-support-for-the-st-m29w400db-flash-chip drivers/mtd/chips/jedec_probe.c
+--- a/drivers/mtd/chips/jedec_probe.c~mtd-nor-add-support-for-the-st-m29w400db-flash-chip
++++ a/drivers/mtd/chips/jedec_probe.c
+@@ -132,6 +132,8 @@
+ #define M29F800AB	0x0058
+ #define M29W800DT	0x00D7
+ #define M29W800DB	0x005B
++#define M29W400DT	0x00EE
++#define M29W400DB	0x00EF
+ #define M29W160DT	0x22C4
+ #define M29W160DB	0x2249
+ #define M29W040B	0x00E3
+@@ -1426,7 +1428,7 @@ static const struct amd_flash_info jedec
+ 			ERASEINFO(0x08000,1),
+ 			ERASEINFO(0x10000,15),
+ 		}
+-       }, {
++	}, {
+ 		.mfr_id		= MANUFACTURER_ST,	/* FIXME - CFI device? */
+ 		.dev_id		= M29W800DT,
+ 		.name		= "ST M29W800DT",
+@@ -1456,6 +1458,36 @@ static const struct amd_flash_info jedec
+ 			ERASEINFO(0x08000,1),
+ 			ERASEINFO(0x10000,15)
+ 		}
++	},  {
++		.mfr_id         = MANUFACTURER_ST,
++		.dev_id         = M29W400DT,
++		.name           = "ST M29W400DT",
++		.devtypes       = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
++		.uaddr          = MTD_UADDR_0x0AAA_0x0555,
++		.dev_size       = SIZE_512KiB,
++		.cmd_set        = P_ID_AMD_STD,
++		.nr_regions     = 4,
++		.regions        = {
++			ERASEINFO(0x04000,7),
++			ERASEINFO(0x02000,1),
++			ERASEINFO(0x08000,2),
++			ERASEINFO(0x10000,1)
++		}
++	}, {
++		.mfr_id         = MANUFACTURER_ST,
++		.dev_id         = M29W400DB,
++		.name           = "ST M29W400DB",
++		.devtypes       = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
++		.uaddr          = MTD_UADDR_0x0AAA_0x0555,
++		.dev_size       = SIZE_512KiB,
++		.cmd_set        = P_ID_AMD_STD,
++		.nr_regions     = 4,
++		.regions        = {
++			ERASEINFO(0x04000,1),
++			ERASEINFO(0x02000,2),
++			ERASEINFO(0x08000,1),
++			ERASEINFO(0x10000,7)
++		}
+ 	}, {
+ 		.mfr_id		= MANUFACTURER_ST,	/* FIXME - CFI device? */
+ 		.dev_id		= M29W160DT,
+@@ -1486,7 +1518,7 @@ static const struct amd_flash_info jedec
+ 			ERASEINFO(0x08000,1),
+ 			ERASEINFO(0x10000,31)
+ 		}
+-        }, {
++	}, {
+ 		.mfr_id		= MANUFACTURER_ST,
+ 		.dev_id		= M29W040B,
+ 		.name		= "ST M29W040B",
+@@ -1498,7 +1530,7 @@ static const struct amd_flash_info jedec
+ 		.regions	= {
+ 			ERASEINFO(0x10000,8),
+ 		}
+-        }, {
++	}, {
+ 		.mfr_id		= MANUFACTURER_ST,
+ 		.dev_id		= M50FW040,
+ 		.name		= "ST M50FW040",
+@@ -1510,7 +1542,7 @@ static const struct amd_flash_info jedec
+ 		.regions	= {
+ 			ERASEINFO(0x10000,8),
+ 		}
+-        }, {
++	}, {
+ 		.mfr_id		= MANUFACTURER_ST,
+ 		.dev_id		= M50FW080,
+ 		.name		= "ST M50FW080",
+@@ -1522,7 +1554,7 @@ static const struct amd_flash_info jedec
+ 		.regions	= {
+ 			ERASEINFO(0x10000,16),
+ 		}
+-        }, {
++	}, {
+ 		.mfr_id		= MANUFACTURER_ST,
+ 		.dev_id		= M50FW016,
+ 		.name		= "ST M50FW016",
+_

Modified: dists/trunk/linux-2.6/debian/patches/series/1~experimental.1
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/1~experimental.1	(original)
+++ dists/trunk/linux-2.6/debian/patches/series/1~experimental.1	Sun Mar 23 05:55:10 2008
@@ -31,7 +31,7 @@
 + bugfix/arm/disable-r6040.patch
 + features/all/at76.patch 
 + bugfix/fix-hifn_795X-divdi3.patch
-+ features/all/add-m29w400d.patch
++ features/all/mtd-nor-add-support-for-the-st-m29w400db-flash-chip.patch
 + bugfix/all/rtc-x1205-new-style-conversion.patch
 + bugfix/all/rtc-x1205-new-style-conversion-checkpatch-fixes.patch
 + bugfix/all/file2alias-cross-compile-fix.patch



More information about the Kernel-svn-changes mailing list