Attention is currently required from: Peter Marheine.

Peter Marheine uploaded patch set #4 to this change.

View Change

realtek_mst: add support for a devpath option

As with the lspcon_i2c_spi programmer, it may be more convenient for
callers to specify the I2C bus by device path rather than number. Add
support for a 'devpath' option that is mutually exclusive with the 'bus'
option and specifies how to communicate with the target.

TEST=-p realtek_mst_i2c_spi:devpath=/dev/i2c-8 --flash-size works, bus=8
continues to work. If both or neither are given, fails gracefully.

Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: Ieea57b2445f3aca16c87d8f839dff131009531a0
---
M realtek_mst_i2c_spi.c
1 file changed, 49 insertions(+), 26 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/05/52405/4

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ieea57b2445f3aca16c87d8f839dff131009531a0
Gerrit-Change-Number: 52405
Gerrit-PatchSet: 4
Gerrit-Owner: Peter Marheine <pmarheine@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Peter Marheine <pmarheine@chromium.org>
Gerrit-MessageType: newpatchset