1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 07:02:34 +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>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/67847
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Jacob Creedon 2019-07-22 12:21:22 -07:00 committed by Felix Singer
parent 3789ce9b63
commit 06a344f8aa

View File

@ -10555,8 +10555,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 */