armv7/exynos5420: Remove the extra reopen when reading SPI.
The workaround of re-opening device in exynos_spi_read has been fixed by the new correct open/close and xfer procedure. It's safe to be removed now. BUG=none TEST=emerge-peach_pit chromeos-coreboot-peach_pit; # Successfully boot on pit. BRANCH=peach_pit Change-Id: I85d80a5298bbec09b4b731e83dd7bd1d97b3e039 Reviewed-on: https://gerrit.chromium.org/gerrit/60086 Reviewed-by: David Hendricks <dhendrix@chromium.org> Commit-Queue: Hung-Te Lin <hungte@chromium.org> Tested-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
parent
6850a81cf1
commit
75240701fe
1 changed files with 0 additions and 3 deletions
|
|
@ -364,9 +364,6 @@ static size_t exynos_spi_cbfs_read(struct cbfs_media *media, void *dest,
|
|||
int bytes;
|
||||
DEBUG_SPI("exynos_spi_cbfs_read(%u)\n", count);
|
||||
bytes = exynos_spi_read(spi->slave, dest, count, offset);
|
||||
// Flush and re-open the device.
|
||||
spi_release_bus(spi->slave);
|
||||
spi_claim_bus(spi->slave);
|
||||
return bytes;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue