Nico Huber has posted comments on this change. ( https://review.coreboot.org/22421 )
Change subject: spi_master: Introduce SPI_MASTER_4BA feature flags
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/#/c/22421/4//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/22421/4//COMMIT_MSG@17
PS4, Line 17: modes.
Hmmm, it's a little more subtle. There is the case where the
programmer can't handle 4BAs, but the extended address register
should work (e.g. ichspi).
--
To view, visit https://review.coreboot.org/22421
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ife66e3fc49b9716f9c99cad957095b528135ec2c
Gerrit-Change-Number: 22421
Gerrit-PatchSet: 4
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 11 Nov 2017 12:16:08 +0000
Gerrit-HasComments: Yes
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/22421
to look at the new patch set (#4).
Change subject: spi_master: Introduce SPI_MASTER_4BA feature flags
......................................................................
spi_master: Introduce SPI_MASTER_4BA feature flags
Add a feature flag SPI_MASTER_4BA to `struct spi_master` that advertises
programmer-side support for 4-byte addresses in generic commands (and
read/write commands if the master uses the default implementations). Set
it for all masters that handle commands address-agnostic.
Another feature flag SPI_MASTER_4BA_STATEFUL tells us that the program-
mer keeps the flash chip powered between commands, i.e. the flash keeps
its volatile state. This is needed to decide if we can use stateful 4BA
modes.
Don't prefer native 4BA instructions if the master doesn't support them.
Change-Id: Ife66e3fc49b9716f9c99cad957095b528135ec2c
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M bitbang_spi.c
M buspirate_spi.c
M ch341a_spi.c
M dummyflasher.c
M ft2232_spi.c
M linux_spi.c
M programmer.h
M serprog.c
M spi25.c
9 files changed, 34 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/21/22421/4
--
To view, visit https://review.coreboot.org/22421
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ife66e3fc49b9716f9c99cad957095b528135ec2c
Gerrit-Change-Number: 22421
Gerrit-PatchSet: 4
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>