Attention is currently required from: Xiang Wang, Stefan Reinauer, Angel Pons.

Xiang Wang uploaded patch set #8 to this change.

View Change

sysfsgpio.c implement spi interface via linux sysfs

Linux can operate gpio through sysfs, this patch implements a bitbang
spi interface through sysfs. Through this patch, some SBC can be used
as flash programmers.

TEST=build and run flashrom with sysfsgpio on raspberrypi to read W25Q128.V

Change-Id: I1bc47ef8011bba560326b501a80869340bb9f733
Signed-off-by: Xiang Wang <merle@hardenedliux.org>
---
M Makefile
M flashrom.c
M meson.build
M programmer.h
A sysfsgpio.c
5 files changed, 283 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/54/49254/8

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I1bc47ef8011bba560326b501a80869340bb9f733
Gerrit-Change-Number: 49254
Gerrit-PatchSet: 8
Gerrit-Owner: Xiang Wang <merle@hardenedlinux.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus@gmail.com>
Gerrit-CC: Shawn C <citypw@hardenedlinux.org>
Gerrit-Attention: Xiang Wang <merle@hardenedlinux.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-MessageType: newpatchset