Attention is currently required from: Xiang Wang, Stefan Reinauer, Angel Pons.
Xiang Wang uploaded patch set #26 to this change.
bitbang-spi.c: support clock polarity and phase
SPI has four modes, which are determined by Clock polarity and Clock
phase. See https://en.wikipedia.org/wiki/Serial_Peripheral_Interface#Clock_polarity_and_phase
for details. The previous code only supports one mode and may not be
able to handle some special spi flash. This patch uses spi's mode0 by
default to be consistent with the previous code.
TEST=build and run flashrom with sysfsgpio on raspberrypi to read W25Q128.V
Change-Id: I04c1dfe132d756119229b27c3cd611d1be1abc8d
Signed-off-by: Xiang Wang <merle@hardenedlinux.org>
---
M bitbang_spi.c
1 file changed, 69 insertions(+), 15 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/55/49255/26
To view, visit change 49255. To unsubscribe, or for help writing mail filters, visit settings.