public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Boris Itkis <boris@fortunet.com>
To: linux-mtd@lists.infradead.org
Subject: Support for Hynix's HY29LV800B & HY29LV800T
Date: Mon, 30 Sep 2002 14:49:57 -0700	[thread overview]
Message-ID: <3D98C705.5070408@fortunet.com> (raw)

[-- 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 }
 		}
 	} 
 	};

                 reply	other threads:[~2002-09-30 21:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D98C705.5070408@fortunet.com \
    --to=boris@fortunet.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox