summaryrefslogtreecommitdiffstats
path: root/internal.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-02-03 12:52:02 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2022-02-24 23:03:17 +0000
commit2740a52dbd5bf4f32daee76c0c36649b8b547725 (patch)
tree812ef4796e5ab0f39a4588dc5b3c0dc4e73ede0f /internal.c
parentf79618d535084f8c2a41b23279d809e51956972f (diff)
downloadflashrom-2740a52dbd5bf4f32daee76c0c36649b8b547725.tar.gz
flashrom-2740a52dbd5bf4f32daee76c0c36649b8b547725.tar.bz2
flashrom-2740a52dbd5bf4f32daee76c0c36649b8b547725.zip
cli_classic: Use flashrom_init() from API
flashrom_init() already does delay calibration and self-checking via the canonical libflashrom API. Port the cli implementation to go via the libflashrom API entry-point natively. BUG=b:208132085 TEST=```sudo ./flashrom -p internal --flash-size <snip> Found Programmer flash chip "Opaque flash chip" (16384 kB, Programmer-specific) mapped at physical address 0x0000000000000000. 16777216 ``` Change-Id: I07faeed876f678c35355621a080c7852eed16824 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/61582 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'internal.c')
0 files changed, 0 insertions, 0 deletions