diff -uNr flashrom.old/flashchips.c flashrom/flashchips.c
--- flashrom.old/flashchips.c	2009-05-10 12:47:08.000000000 +0200
+++ flashrom/flashchips.c	2009-05-10 12:46:36.000000000 +0200
@@ -96,8 +96,8 @@
 	{
 		.vendor		= "AMD",
 		.name		= "Am29F080B",
-		.manufacture_id	= 0x01,
-		.model_id	= 0xd5,
+		.manufacture_id	= AMD_ID,
+		.model_id	= AM_29F080B,
 		.total_size	= 1024,
 		.page_size	= 64 * 1024,
 		.tested		= TEST_UNTESTED,
@@ -124,8 +124,8 @@
 	{
 		.vendor		= "AMD",
 		.name		= "Am29LV081B",
-		.manufacture_id	= 0x01,
-		.model_id	= 0x38,
+		.manufacture_id	= AMD_ID,
+		.model_id	= AM_29LV081B,
 		.total_size	= 1024,
 		.page_size	= 64 * 1024,
 		.tested		= TEST_UNTESTED,
diff -uNr flashrom.old/flash.h flashrom/flash.h
--- flashrom.old/flash.h	2009-05-10 12:47:08.000000000 +0200
+++ flashrom/flash.h	2009-05-10 12:46:31.000000000 +0200
@@ -206,7 +206,9 @@
 #define AM_29F002BT		0xB0
 #define AM_29F002BB		0x34
 #define AM_29F040B		0xA4
+#define AM_29F080B		0xD5
 #define AM_29LV040B		0x4F
+#define AM_29LV081B		0x38
 #define AM_29F016D		0xAD
 
 #define AMIC_ID			0x7F37	/* AMIC */
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to