From patchwork Thu Mar 31 05:42:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: FILO: Add NAND support for HY27UF081G2A Date: Thu, 31 Mar 2011 05:42:36 -0000 From: Nathan Williams X-Patchwork-Id: 2826 Message-Id: <1301550156.18655.41.camel@dualcore.traverse> To: coreboot This patch adds the device id for the Hynix HY27UF081G2A 128MB NAND flash IC. Signed-off-by: Nathan Williams 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