Felix Singer has uploaded this change for review.
flashchips: Add Fremont Micro Devices FT25H04
Change-Id: Ic27bd2598bf6adb0d83d8005214bd04f03a06c2d
Signed-off-by: Tomas kovacik <nail@nodomain.sk>
Signed-off-by: Felix Singer <felixsinger@posteo.net>
---
M flashchips.c
M flashchips.h
2 files changed, 40 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/13/63913/1
diff --git a/flashchips.c b/flashchips.c
index 0a1d21d..2cbe413 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -19842,6 +19842,43 @@
},
{
+ .vendor = "FMD", /*http://famousconnections.eu/wp-content/uploads/2017/10/FT25H04.pdf*/
+ .name = "FT25H04",
+ .bustype = BUS_SPI,
+ .manufacture_id = FMD_ID,
+ .model_id = FMD_FT25H04,
+ .total_size = 512,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 128} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {64 * 1024, 8} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {512 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {512 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_bp2_srwd,
+ .unlock = spi_disable_blockprotect_bp2_srwd,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */
+ .voltage = {2700, 3600},
+ },
+
+
+
+ {
.vendor = "Generic",
.name = "Variable Size SPI chip",
.bustype = BUS_SPI,
diff --git a/flashchips.h b/flashchips.h
index ba97719..6abfd1f 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -1030,4 +1030,7 @@
#define ZETTADEVICE_ZD25D20 0x2012
#define ZETTADEVICE_ZD25D40 0x2013
+#define FMD_ID 0x0E /* Fremont Micro Devices */
+#define FMD_FT25H04 0x4013
+
#endif /* !FLASHCHIPS_H */
To view, visit change 63913. To unsubscribe, or for help writing mail filters, visit settings.