Attention is currently required from: Nico Huber, Angel Pons. Simon Buhrow has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/58467 )
Change subject: flashchips.c: big erase blocksize first ......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5:
I didn't take a look at the code, but I imagine this tries to use a full chip erase command where po […]
The clou is the condition ``` if ((block_size == flashctx->chip->total_size * 1024) && per_blockfn == &erase_block){ ``` So when the block size equals the flash size it uses the biggest possible erase block size (assuming the eraseblocks are always given in ascending order).
I have never worked with a layout that´s why I didn´t test it. However in case of a given layout the "normal" way should be taken.