Attention is currently required from: Ana Carolina Cabral, Matt DeVillier.
Hello Ana Carolina Cabral, Matt DeVillier, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/84789?usp=email
to look at the new patch set (#5).
The following approvals got outdated and were removed: Code-Review+1 by Ana Carolina Cabral, Code-Review+2 by Matt DeVillier, Verified+1 by build bot (Jenkins)
Change subject: drivers/spi/spi_flash: introduce 'spi_flash_cmd_multi' ......................................................................
drivers/spi/spi_flash: introduce 'spi_flash_cmd_multi'
A following patch that adds some support for reading the serial flash discoverable parameters (SFDP) data structures needs to send more than just the one command byte that 'spi_flash_cmd' supports. To be able to do this, introduce the 'spi_flash_cmd_multi' function which supports sending multiple bytes before reading back some bytes. The prototype is added to drivers/spi/spi_flash_internal.h since only other files in the same directory are supposed to be using that function.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I1f3872463249240c0a32e2825e4302894e856b2e --- M src/drivers/spi/spi_flash.c M src/drivers/spi/spi_flash_internal.h 2 files changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/84789/5