From 9917fa0623afb77eb857cbacbcff61aaee04be02 Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Fri, 9 Jun 2023 23:42:06 +1000 Subject: [PATCH] flash: Update the comment for flashchip eraseblocks Change-Id: Ica7790667ac4c1baf961cb7a330e08178e2c0c28 Signed-off-by: Anastasia Klimchuk Reviewed-on: https://review.coreboot.org/c/flashrom/+/75744 Tested-by: build bot (Jenkins) Reviewed-by: Aarya --- include/flash.h | 4 +--- 1 file changed, 1 insertion(+), 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 {