summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2023-06-09 23:42:06 +1000
committerAnastasia Klimchuk <aklm@chromium.org>2023-07-27 02:18:18 +0000
commit9917fa0623afb77eb857cbacbcff61aaee04be02 (patch)
tree181a84f296efebaef3e18b61650189c6284d7420
parent2b692d78c2ab8cb1ba68516cb4bd2ceae80d8936 (diff)
downloadflashrom-9917fa0623afb77eb857cbacbcff61aaee04be02.tar.gz
flashrom-9917fa0623afb77eb857cbacbcff61aaee04be02.tar.bz2
flashrom-9917fa0623afb77eb857cbacbcff61aaee04be02.zip
flash: Update the comment for flashchip eraseblocks
Change-Id: Ica7790667ac4c1baf961cb7a330e08178e2c0c28 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/75744 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aarya <aarya.chaumal@gmail.com>
-rw-r--r--include/flash.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/flash.h b/include/flash.h
index 0eace15d4..4c08549bc 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -449,9 +449,7 @@ struct flashchip {
/*
* Erase blocks and associated erase function. Any chip erase function
* is stored as chip-sized virtual block together with said function.
- * The first one that fits will be chosen. There is currently no way to
- * influence that behaviour. For testing just comment out the other
- * elements or set the function pointer to NULL.
+ * The logic for how to optimally select erase functions is in erasure_layout.c
*/
struct block_eraser {
struct eraseblock {