Add support to flashrom for Hyundai HY29F002T on the assumption it is
the same as other *29F002T chips. Running 'flashrom -r' finds the chip
and reads what looks like a BIOS image, other than that it is un-tested.
Signed-off-by: Andrew Morgan <[email protected]>
---
Once I de-solder these chips and get some sockets fitted I can do some
proper testing! Gigabyte GA-7ZXR has two of them for its DualBIOS™.
Switching between chips seems to be done in software... Very useful.
--
Andrew.
Index: flashchips.c
===================================================================
--- flashchips.c (revision 631)
+++ flashchips.c (working copy)
@@ -1146,6 +1146,22 @@
},
{
+ .vendor = "HYUNDAI",
+ .name = "HY29F002T",
+ .bustype = CHIP_BUSTYPE_NONSPI,
+ .manufacture_id = HYUNDAI_ID,
+ .model_id = HY_29F002T,
+ .total_size = 256,
+ .page_size = 256,
+ .tested = TEST_UNTESTED,
+ .probe = probe_jedec,
+ .probe_timing = TIMING_FIXME,
+ .erase = erase_chip_jedec,
+ .write = write_en29f002a,
+ .read = read_memmapped,
+ },
+
+ {
.vendor = "Intel",
.name = "28F001BX-B",
.bustype = CHIP_BUSTYPE_PARALLEL,
Index: flashchips.h
===================================================================
--- flashchips.h (revision 631)
+++ flashchips.h (working copy)
@@ -160,6 +160,7 @@
#define MBM29F004TC 0x77
#define HYUNDAI_ID 0xAD /* Hyundai */
+#define HY_29F002T 0xB0
#define IMT_ID 0x7F1F /* Integrated Memory Technologies */
#define IM_29F004B 0xAE
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot