diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-05-02 18:56:45 +0200 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-05-09 03:34:05 +0000 |
commit | db23295f8d2a1ecc08f279c3f295558cc55fbeb5 (patch) | |
tree | 979f4304b82dba5a1d1650fa4ae30dbf260385c4 /spi.h | |
parent | c7dd17062c1c0936d649f285c0013bb4a397e41c (diff) | |
download | flashrom-db23295f8d2a1ecc08f279c3f295558cc55fbeb5.tar.gz flashrom-db23295f8d2a1ecc08f279c3f295558cc55fbeb5.tar.bz2 flashrom-db23295f8d2a1ecc08f279c3f295558cc55fbeb5.zip |
lspcon_i2c_spi: Extract I2C bus parameter handling
Introduce the `i2c_open_from_programmer_params` function to avoid having
to duplicate parameter parsing code on all I2C programmers. This also
allows having the same programmer parameters on all I2C programmers.
Change-Id: I006b311c88feea37fe4b217f769b21ca1505def9
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/52830
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'spi.h')
0 files changed, 0 insertions, 0 deletions