diff options
author | Aarya Chaumal <aarya.chaumal@gmail.com> | 2022-08-14 23:16:44 +0530 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2022-12-19 23:12:26 +0000 |
commit | 0f389aea9e630c3b21547a5dd8dbe572a8502853 (patch) | |
tree | e414e930cf2a3746a7d0ba4c7554a6dfde34627d /util | |
parent | ed1126fc42d7687243934aabb641feecdaea92b8 (diff) | |
download | flashrom-0f389aea9e630c3b21547a5dd8dbe572a8502853.tar.gz flashrom-0f389aea9e630c3b21547a5dd8dbe572a8502853.tar.bz2 flashrom-0f389aea9e630c3b21547a5dd8dbe572a8502853.zip |
flashrom.c: Update check_block_eraser function to use probe opcode
Update the check_block_eraser function to use probe_opcode to see if the
given block_eraser is supported by the spi master. This will help to get
a real count of usable block_erasers.
Change-Id: I6591a84ae1fe5bc1648051cc30b9393450033852
Signed-off-by: Aarya Chaumal <aarya.chaumal@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66717
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions