Jonathan Zhang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41586 )
Change subject: drivers/vpd: add support for VPD_RW_OR_RO ......................................................................
Patch Set 2:
Patch Set 1:
In comparison to adding a new function, I'd rather have this implemented as a new region enum.
Current VPD_ANY is actually having "RO first then RW", and we may rename that (or create a new one) as VPD_RO_OR_RW, and for your new usage we may call it VPD_RW_OR_RO.
I think that will be much easier for developers to figure out what it is doing than seeing a get_bool_ex.
This makes sense total, Hung-Te. I thought the same, but did not pursue because it involves change to src/vendorcode/google/chromeos. Thanks for your support.