1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 15:12:36 +02:00

flashchips: Fix N25Q512 bulk erase

The N25Q is a stacked device, so it requires 0xC4 to perform a die
erase.

Signed-off-by: Jacob Creedon <jcreedon@google.com>
Change-Id: Ib408fbe5633abd8b657e3907142b997e88b33f84
Reviewed-on: https://review.coreboot.org/c/flashrom/+/34489
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Jacob Creedon 2019-07-22 12:21:22 -07:00 committed by Nico Huber
parent 08e9d1d895
commit e8e7b0e6e8

View File

@ -10612,8 +10612,8 @@ const struct flashchip flashchips[] = {
.eraseblocks = { {64 * 1024, 1024} },
.block_erase = spi_block_erase_d8,
}, {
.eraseblocks = { {65536 * 1024, 1} },
.block_erase = spi_block_erase_c7,
.eraseblocks = { {32768 * 1024, 2} },
.block_erase = spi_block_erase_c4,
}
},
.printlock = spi_prettyprint_status_register_n25q, /* TODO: config, lock, flag regs */