diff options
author | Patrick Georgi <pgeorgi@google.com> | 2018-08-21 11:46:31 -0400 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-08-23 14:35:53 +0000 |
commit | c5ee35ff861fe4447fd80119f645fba7bfd3a184 (patch) | |
tree | 2cdaa0589b05336fe5807eae661ca8bf0f5c66ba /src/southbridge/nvidia | |
parent | e166ea4d2a0c3233d0bc8bb0e93061951005337d (diff) |
drivers/spi/spi_flash: don't allocate unbounded stack memory
This open-codes flash_cmd, but until the API is fixed for real, it uses
xfer's existing scatter-gather ability to write command and data in one
go.
BUG=chromium:446201
TEST=emerge-coral coreboot succeeds
Change-Id: Ic81b7c9f7e0f2647e59b81d61abd68d36051e578
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/28254
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/southbridge/nvidia')
0 files changed, 0 insertions, 0 deletions