David Hendricks has posted comments on this change. ( https://review.coreboot.org/17946 )
Change subject: Add a convenient libflashrom interface ......................................................................
Patch Set 6:
(1 comment)
Came up with an idea while reviewing another patch up the stack.
https://review.coreboot.org/#/c/17946/6/libflashrom.c File libflashrom.c:
Line 301: { How about adding: if (layout != get_global_layout()) return;
That way we can do fl_layout_release() unconditionally at the end of cli_classic.c in 17953 (" Add option to read ROM layout from IFD")