Attention is currently required from: Neil Armstrong, Carl-Daniel Hailfinger.

Neil Armstrong uploaded patch set #6 to this change.

View Change

VIA VL805 SPI Flash Bus support

The VIA VL805 (and VL806 2-port variant) is a 4 ports PCIe
Super Speed USB 3.0 bridge.

Vendor website: https://www.via-labs.com/product_show.php?id=48

The bridge requires an SPI NOR Flash in order to load the firmware,
and provides undocumented registers to access this SPI bus in order
to program the SPI NOR Flash.

Reverse engineered based on PCI traces created by cleverca22 on a
Raspberry Pi 4 Model B.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
[narmstrong: Tested, fixed validated on an Amlogic ARM64 based board with the VL806 variant]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Change-Id: I7439d31cdf5a2174dd27b9dbe5de24ad64963334
---
M Makefile
M flashrom.8.tmpl
M flashrom.c
M meson.build
M meson_options.txt
M programmer.h
A vl805.c
7 files changed, 209 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/64/50264/6

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I7439d31cdf5a2174dd27b9dbe5de24ad64963334
Gerrit-Change-Number: 50264
Gerrit-PatchSet: 6
Gerrit-Owner: Neil Armstrong <narmstrong@baylibre.com>
Gerrit-Reviewer: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Neil Armstrong <narmstrong@baylibre.com>
Gerrit-Attention: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Gerrit-MessageType: newpatchset