Ravishankar Sarawadi has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/69928 )
Change subject: flashchips: Add support for GigaDevice GD251R512ME ......................................................................
flashchips: Add support for GigaDevice GD251R512ME
Datasheet: https://www.gigadevice.com/datasheet/gd25lr512me/
BUG=b:254447896 BRANCH=none TEST= Flash image using Flashrom Tool
Signed-off-by: Ravi Sarawadi ravishankar.sarawadi@intel.com Change-Id: I15f76ce089cb2a2baf8bf8525510a7a7fe44b352 --- M flashchips.c M include/flashchips.h 2 files changed, 64 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/28/69928/1
diff --git a/flashchips.c b/flashchips.c index e128142..07c2cb3 100644 --- a/flashchips.c +++ b/flashchips.c @@ -7383,6 +7383,53 @@ },
{ + .vendor = "GigaDevice", + .name = "GD25LR512ME", + .bustype = BUS_SPI, + .manufacture_id = GIGADEVICE_ID, + .model_id = GIGADEVICE_GD25LR512ME, + .total_size = 64 * 1024, + .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA_WREN, + .tested = TEST_OK_PREW, + .probe = PROBE_SPI_RDID, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 16384} }, + .block_erase = SPI_BLOCK_ERASE_21, + }, { + .eraseblocks = { {4 * 1024, 16384} }, + .block_erase = SPI_BLOCK_ERASE_20, + }, { + .eraseblocks = { {32 * 1024, 2048} }, + .block_erase = SPI_BLOCK_ERASE_5C, + }, { + .eraseblocks = { {32 * 1024, 2048} }, + .block_erase = SPI_BLOCK_ERASE_52, + }, { + .eraseblocks = { {64 * 1024, 1024} }, + .block_erase = SPI_BLOCK_ERASE_DC, + }, { + .eraseblocks = { {64 * 1024, 1024} }, + .block_erase = SPI_BLOCK_ERASE_D8, + }, { + .eraseblocks = { {64 * 1024 * 1024, 1} }, + .block_erase = SPI_BLOCK_ERASE_60, + }, { + .eraseblocks = { {64 * 1024 * 1024, 1} }, + .block_erase = SPI_BLOCK_ERASE_C7, + } + }, + .printlock = spi_prettyprint_status_register_bp3_srwd, + .unlock = spi_disable_blockprotect, + .write = SPI_CHIP_WRITE256, + .read = SPI_CHIP_READ, + .voltage = {1600, 2000}, + }, + + { .vendor = "Hyundai", .name = "HY29F002B", .bustype = BUS_PARALLEL, diff --git a/include/flashchips.h b/include/flashchips.h index 5df42dc..fafb969 100644 --- a/include/flashchips.h +++ b/include/flashchips.h @@ -401,6 +401,7 @@ #define GIGADEVICE_GD25LQ64 0x6017 /* Same as GD25LQ64B (which is faster) */ #define GIGADEVICE_GD25LQ128CD 0x6018 #define GIGADEVICE_GD25WQ80E 0x6514 +#define GIGADEVICE_GD25LR512ME 0x671A #define GIGADEVICE_GD29GL064CAB 0x7E0601
#define HYUNDAI_ID 0xAD /* Hyundai */