Nico Huber has posted comments on this change. ( https://review.coreboot.org/23262 )
Change subject: [v4,5/6] Add the hidden-from-probing chips category and make KB9012 hidden ......................................................................
Patch Set 1:
(1 comment)
This should be done before adding the EDI driver.
AFAIR, Paul had something more flexible in mind: Instead of the `hidden` flag a grouping of the chips. Basically the same what you did but instead of 0/1 values a default of JEDEC and alternatively EDI and whatever might come in the future. How about that?
https://review.coreboot.org/#/c/23262/1/flashrom.c File flashrom.c:
https://review.coreboot.org/#/c/23262/1/flashrom.c@1213 PS1, Line 1213: if (!((!chip_to_probe && !chip->hidden) || This can be written much cleaner without multiple negations, IMO:
if (!chip_to_probe && chip->hidden) continue; if (chip_to_probe && /* original condition ... */
You wouldn't need a comment then to explain what you do, because it would be obvious.
But let's discuss the "hidden vs. groups" thing, first.