This patch adds the device id for the Hynix HY27UF081G2A 128MB
NAND flash IC.

Signed-off-by: Nathan Williams <[email protected]>

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


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to