Attention is currently required from: Edward O'Callaghan, Hsuan-ting Chen, Sam McNally, Thomas Heijligen.
Hsuan-ting Chen has uploaded a new patch set (#8) to the change originally created by Edward O'Callaghan. ( https://review.coreboot.org/c/flashrom/+/73286?usp=email )
Change subject: libflashrom: Provide flashrom_flash_getinfo() API ......................................................................
libflashrom: Provide flashrom_flash_getinfo() API
The libflashom API exposes a API to get the flash size however not the flash name. Provide a API entry that instead provides a complete flashrom_flashchip_info structure with the detected flashchip for a given flashctx.
BUG=b:276981092 TEST=tested with cli_classic.c patch to show --flash-name using API.
Change-Id: I3dc32e261e6d54230d93f06b91f723811792112a Signed-off-by: Edward O'Callaghan quasisec@google.com Signed-off-by: Hsuan Ting Chen roccochen@google.com --- M include/libflashrom.h M libflashrom.c M libflashrom.map 3 files changed, 34 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/86/73286/8