Attention is currently required from: Anastasia Klimchuk, Dmitry Zhadinets.

Dmitry Zhadinets uploaded patch set #2 to this change.

View Change

The following approvals got outdated and were removed: Verified-1 by build bot (Jenkins)

libflashrom: Add API for capabilitible chips

There were no options available to obtain the list of
compatible chips for the programmer. The implementation is based
on flashrom_supported_flash_chips and flashrom_flash_probe.
Arrays of constant strings are returned, and the array must be
freed using flashrom_data_free.

Testing: Both unit tests and CLI tools serve as libflashrom clients.
All unit tests run successfully.
Tests are moved because there is a bug in spi test. It does
not clean everything. WIP

Change-Id: Id33fac2935b4098586526bda87b25231c9a6ab39
Signed-off-by: Dmitry Zhadinets <dzhadinets@gmail.com>
---
M include/libflashrom.h
M libflashrom.c
M libflashrom.map
M tests/libflashrom.c
M tests/tests.c
M tests/tests.h
6 files changed, 63 insertions(+), 9 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/51/87251/2

To view, visit change 87251. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: Id33fac2935b4098586526bda87b25231c9a6ab39
Gerrit-Change-Number: 87251
Gerrit-PatchSet: 2
Gerrit-Owner: Dmitry Zhadinets <dzhadinets@gmail.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Dmitry Zhadinets <dzhadinets@gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>