diff options
author | Evan Benn <evanbenn@chromium.org> | 2022-05-25 16:38:17 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2022-07-21 23:28:30 +0000 |
commit | b9e7d20d192ca15c704b2e59dca24d7bc654680b (patch) | |
tree | 3720ab506d109f9674bf796bff64936a03db6a48 /dmi.c | |
parent | 96fb37cb0f3475ec3c996888b1e2eaae4bbb42cb (diff) | |
download | flashrom-b9e7d20d192ca15c704b2e59dca24d7bc654680b.tar.gz flashrom-b9e7d20d192ca15c704b2e59dca24d7bc654680b.tar.bz2 flashrom-b9e7d20d192ca15c704b2e59dca24d7bc654680b.zip |
flashrom_tester: Use Flashrom trait instead of struct FlashromCmd
To allow FlashromCmd to be reimplemented with libflashrom move all
concrete cmd functions into the FlashromCmd type that implements the
Flashrom trait. This allows users to be generalised upon the Flashrom
trait as the contract rather than the concrete FlashromCmd type.
Change-Id: Ie2b4e7e91d69043fd50d1c57f6585fc9946fab10
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/64849
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'dmi.c')
0 files changed, 0 insertions, 0 deletions