From 970f9481ae23fb11114aaf2f5b103bd0e6e8c5d9 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 24 May 2022 15:33:26 +0200 Subject: flashchips: Add missing block eraser for S25FL512S Now that we can make use of the extended-address register, we can also advertise the `d8` eraser that can take 3- or 4-byte addresses. Signed-off-by: Nico Huber Ticket: https://ticket.coreboot.org/issues/357 Change-Id: I8708294d42f5da80c0ca07ccdae627f13fd5c645 Reviewed-on: https://review.coreboot.org/c/flashrom/+/64637 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: Thomas Heijligen --- flashchips.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flashchips.c b/flashchips.c index eee1ed98..d93f8d84 100644 --- a/flashchips.c +++ b/flashchips.c @@ -16853,6 +16853,9 @@ const struct flashchip flashchips[] = { { .eraseblocks = { { 256 * 1024, 256} }, .block_erase = spi_block_erase_dc, + }, { + .eraseblocks = { { 256 * 1024, 256} }, + .block_erase = spi_block_erase_d8, }, { .eraseblocks = { { 65536 * 1024, 1} }, .block_erase = spi_block_erase_60, -- cgit v1.2.3