summaryrefslogtreecommitdiff
path: root/src/mainboard/google/nyan_blaze
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-10-16 20:17:18 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-11-07 15:09:48 +0000
commitc6f60b1ddf372db04eba5b9e177d8cbe0100f3ab (patch)
treeb938855d796991ee6a5b503e2191a8229bcc7d17 /src/mainboard/google/nyan_blaze
parentade5b9dc4837cdca17358b021c840d4f90383b40 (diff)
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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84789 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/nyan_blaze')
0 files changed, 0 insertions, 0 deletions