UPSTREAM: sb/amd/sb700: Do not reset fifo after skipping the sent bytes
Port commit e08493 to the SB700 platform BUG=None BRANCH=None TEST=None Change-Id: Ia61023e3cfa8be77514105b44011254fcaacca47 Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com> Reviewed-on: https://review.coreboot.org/16054 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/368369 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
341c5a1a9f
commit
6773e9055f
1 changed files with 1 additions and 2 deletions
|
|
@ -134,8 +134,7 @@ int spi_xfer(struct spi_slave *slave, const void *dout,
|
|||
for (count = 0; count < bytesout; count++) {
|
||||
cmd = read8((void *)(spibar + 0x0C));
|
||||
}
|
||||
|
||||
reset_internal_fifo_pointer();
|
||||
/* read response bytes */
|
||||
for (count = 0; count < bytesin; count++, din++) {
|
||||
*(u8 *)din = read8((void *)(spibar + 0x0C));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue