diff options
author | Alan Green <avg@google.com> | 2021-01-18 18:41:25 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-01-24 11:13:16 +0000 |
commit | 3207844ec0b5dc16f9ae9ee45294213dbf6d060b (patch) | |
tree | c67d86b80482a99c03aecf9284459af0dba43340 /libflashrom.map | |
parent | 25a5bceb930b6db3f29b1af58133ebbd8ea5f85c (diff) | |
download | flashrom-3207844ec0b5dc16f9ae9ee45294213dbf6d060b.tar.gz flashrom-3207844ec0b5dc16f9ae9ee45294213dbf6d060b.tar.bz2 flashrom-3207844ec0b5dc16f9ae9ee45294213dbf6d060b.zip |
ft2232_spi.c: Generalize GPIOL pin control
Adds a new arg "gpiol" to allow the four FT2232 GPIOL pins to be set to
any combination of high, low or high-impedance.
The existing arg "csgpiol", is intended to function as an additional
"cs" signal, allowing pins to be set high but not low. This patch
preserves the csgpiol arg for backward compatibility. In the event that
both arguments are specified, gpiol is used.
Signed-off-by: Alan Green <avg@google.com>
Change-Id: I1f2b3b968577e62e3c5b11bcdf4afe2de6eb84ab
Reviewed-on: https://review.coreboot.org/c/flashrom/+/49637
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Xiang Wang <merle@hardenedlinux.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'libflashrom.map')
0 files changed, 0 insertions, 0 deletions