Change in flashrom[master]: lspcon_i2c_spi: support a devpath option

Attention is currently required from: Peter Marheine. Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/51967 ) Change subject: lspcon_i2c_spi: support a devpath option ...................................................................... Patch Set 1: (2 comments) File lspcon_i2c_spi.c: https://review.coreboot.org/c/flashrom/+/51967/comment/03d827eb_6153905c PS1, Line 436: /* TODO: remove this out of the specific SPI master implementation. */ Idea for another patch: Provide a `i2c_open_from_programmer_param` I2C helper function that returns a fd for an I2C device, using programmer params `devpath` and `bus`? https://review.coreboot.org/c/flashrom/+/51967/comment/8e1130ba_c91c0abc PS1, Line 486: msg_perr("%s: one of devpath or bus must be specified\n", __func__); If both arguments are specified, `bus` is silently ignored. Should this case be treated as an error? -- To view, visit https://review.coreboot.org/c/flashrom/+/51967 To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings Gerrit-Project: flashrom Gerrit-Branch: master Gerrit-Change-Id: Id2adf8a307b9205ce5e5804a6c3e22f19d0c34c9 Gerrit-Change-Number: 51967 Gerrit-PatchSet: 1 Gerrit-Owner: Peter Marheine <pmarheine@chromium.org> Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com> Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-Attention: Peter Marheine <pmarheine@chromium.org> Gerrit-Comment-Date: Wed, 31 Mar 2021 09:20:22 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
participants (1)
-
Angel Pons (Code Review)