Patchwork FILO: Add NAND support for HY27UF081G2A

login
register
about
Submitter Nathan Williams
Date 2011-03-31 05:42:36
Message ID <1301550156.18655.41.camel@dualcore.traverse>
Download mbox | patch
Permalink /patch/2826/
State Not Applicable
Headers show

Comments

Nathan Williams - 2011-03-31 05:42:36
This patch adds the device id for the Hynix HY27UF081G2A 128MB
NAND flash IC.

Signed-off-by: Nathan Williams <nathan@traverse.com.au>
Stefan Reinauer - 2011-03-31 21:27:56
* Nathan Williams <nathan@traverse.com.au> [110331 07:42]:
> This patch adds the device id for the Hynix HY27UF081G2A 128MB
> NAND flash IC.
> 
> Signed-off-by: Nathan Williams <nathan@traverse.com.au>

thanks. r143

Patch

Index: lxflash.c
===================================================================
--- lxflash.c	(revision 142)
+++ lxflash.c	(working copy)
@@ -586,6 +586,7 @@ 
 		break;
 
 	case ST_NAND_128MB:
+	case HY_NAND_128MB:
 
 		g_flashInfo.numBlocks = 1024;
 		g_flashInfo.pagesPerBlock = 64;
Index: lxflash.h
===================================================================
--- lxflash.h	(revision 142)
+++ lxflash.h	(working copy)
@@ -140,6 +140,7 @@ 
 #define ST_NAND_64MB				0x76207620
 #define ST_NAND_512MB				0x9580dc20
 #define ST_NAND_128MB				0x1d80f120
+#define HY_NAND_128MB				0x1d80f1ad
 
 #define ERROR_SUCCESS				0
 #define ERROR_BAD_PARAMS			-1