* Support for Hynix's HY29LV800B & HY29LV800T
@ 2002-09-30 21:49 Boris Itkis
0 siblings, 0 replies; only message in thread
From: Boris Itkis @ 2002-09-30 21:49 UTC (permalink / raw)
To: linux-mtd
[-- Attachment #1: Type: text/plain, Size: 100 bytes --]
Added support for Hynix's HY29LV800B & HY29LV800T.
Files affected:
drivers/mtd/chips/amd_flash.c
[-- Attachment #2: diff_f10_1 --]
[-- Type: text/plain, Size: 1591 bytes --]
diff -urN linux-2.4.19/drivers/mtd/chips/amd_flash.c linux.orig/drivers/mtd/chips/amd_flash.c
--- linux-2.4.19/drivers/mtd/chips/amd_flash.c Fri Aug 2 17:39:44 2002
+++ linux.orig/drivers/mtd/chips/amd_flash.c Mon Sep 30 10:04:06 2002
@@ -57,6 +57,7 @@
#define MANUFACTURER_ST 0x0020
#define MANUFACTURER_SST 0x00BF
#define MANUFACTURER_TOSHIBA 0x0098
+#define MANUFACTURER_HYNIX 0x00AD
/* AMD */
#define AM29F800BB 0x2258
@@ -89,6 +90,10 @@
#define TC58FVT160 0x00C2
#define TC58FVB160 0x0043
+/* Hynix */
+#define HY29LV800B 0x225B
+#define HY29LV800T 0x22DA
+
#define D6_MASK 0x40
struct amd_flash_private {
@@ -636,6 +641,30 @@
regions: {
{ offset: 0x000000, erasesize: 0x10000, numblocks: 31 },
{ offset: 0x1F0000, erasesize: 0x02000, numblocks: 8 }
+ }
+ }, {
+ mfr_id: MANUFACTURER_HYNIX,
+ dev_id: HY29LV800B,
+ name: "Hynix HY29LV800B",
+ size: 0x00100000,
+ numeraseregions: 4,
+ regions: {
+ { offset: 0x000000, erasesize: 0x04000, numblocks: 1 },
+ { offset: 0x004000, erasesize: 0x02000, numblocks: 2 },
+ { offset: 0x008000, erasesize: 0x08000, numblocks: 1 },
+ { offset: 0x010000, erasesize: 0x10000, numblocks: 15 }
+ }
+ }, {
+ mfr_id: MANUFACTURER_HYNIX,
+ dev_id: HY29LV800T,
+ name: "Hynix HY29LV800T",
+ size: 0x00100000,
+ numeraseregions: 4,
+ regions: {
+ { offset: 0x000000, erasesize: 0x10000, numblocks: 15 },
+ { offset: 0x0F0000, erasesize: 0x08000, numblocks: 1 },
+ { offset: 0x0F8000, erasesize: 0x02000, numblocks: 2 },
+ { offset: 0x0FC000, erasesize: 0x04000, numblocks: 1 }
}
}
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-30 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-30 21:49 Support for Hynix's HY29LV800B & HY29LV800T Boris Itkis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox