From 6329b0af1d5338ed5e6066168544b80f9a2c4435 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 13 Mar 2018 18:14:52 +0100 Subject: [PATCH] Enable native 4BA instructions for Spansion 25FL256S Change-Id: I0ffc816ca714ecce5b89b1eaadb5e73ccb38d9ab Signed-off-by: Nico Huber Tested-by: Michael Fuckner Reviewed-on: https://review.coreboot.org/25134 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- flashchips.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flashchips.c b/flashchips.c index c75e0b8a9..fdaaa2fbb 100644 --- a/flashchips.c +++ b/flashchips.c @@ -12524,7 +12524,7 @@ const struct flashchip flashchips[] = { .total_size = 32768, .page_size = 256, /* OTP: 1024B total, 32B reserved; read 0x4B; write 0x42 */ - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA_ENTER_EAR7, + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA_EAR7, .tested = TEST_OK_PREW, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -12539,6 +12539,9 @@ const struct flashchip flashchips[] = { }, .block_erase = spi_block_erase_20, }, { */ + .eraseblocks = { { 64 * 1024, 512} }, + .block_erase = spi_block_erase_dc, + }, { .eraseblocks = { { 64 * 1024, 512} }, .block_erase = spi_block_erase_d8, }, {