diff options
author | Jacob Creedon <jcreedon@google.com> | 2019-07-22 12:21:22 -0700 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-09-29 17:01:32 +0000 |
commit | 06a344f8aa69db2ca0846df617d172e9b76c6c28 (patch) | |
tree | 6acfa930d8317fc1f9aaff83615271c87a1eb0ff | |
parent | 3789ce9b63330c514ba78cf693f75e6be6afc9c0 (diff) | |
download | flashrom-06a344f8aa69db2ca0846df617d172e9b76c6c28.tar.gz flashrom-06a344f8aa69db2ca0846df617d172e9b76c6c28.tar.bz2 flashrom-06a344f8aa69db2ca0846df617d172e9b76c6c28.zip |
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>
-rw-r--r-- | flashchips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flashchips.c b/flashchips.c index d85ea7423..4dc50f778 100644 --- a/flashchips.c +++ b/flashchips.c @@ -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 */ |