Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/63915 )
Change subject: flashchips: Add XTX XT25F01D ......................................................................
flashchips: Add XTX XT25F01D
Change-Id: Iaddc86b57ae5cba11142806300edb5ff6017df1e Signed-off-by: Seungchul Lee john.lee@hardkernel.com Signed-off-by: Felix Singer felixsinger@posteo.net --- M flashchips.c M flashchips.h 2 files changed, 35 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/15/63915/1
diff --git a/flashchips.c b/flashchips.c index 0a1d21d..2be90bf 100644 --- a/flashchips.c +++ b/flashchips.c @@ -19587,6 +19587,38 @@ },
{ + .vendor = "XTX", + .name = "XT25F01", + .bustype = BUS_SPI, + .manufacture_id = XTX_ID, + .model_id = XTX_XT25F01D, + .total_size = 128, + .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, + .tested = TEST_UNTESTED, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 32} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {64 * 1024, 2} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {128 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + .printlock = spi_prettyprint_status_register_bp2_srwd, + .unlock = spi_disable_blockprotect, + .write = spi_chip_write_256, + .read = spi_chip_read, + .voltage = {2700, 3600}, + }, + + { .vendor = "Zetta Device", .name = "ZD25D20", .bustype = BUS_SPI, diff --git a/flashchips.h b/flashchips.h index ba97719..9350fb1 100644 --- a/flashchips.h +++ b/flashchips.h @@ -1026,6 +1026,9 @@ #define WINBOND_W49V002A 0xB0 #define WINBOND_W49V002FA 0x32
+#define XTX_ID 0x0B /* XTX */ +#define XTX_XT25F01D 0x4011 + #define ZETTADEVICE_ID 0xBA /* Zetta Device */ #define ZETTADEVICE_ZD25D20 0x2012 #define ZETTADEVICE_ZD25D40 0x2013