diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-06-26 21:22:55 +0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-07-10 23:18:04 +0200 |
commit | f473df141956d639ccc9e2ad8c60b313294d6e8d (patch) | |
tree | 308af797ffdc32c0a98285192b09ca06e6c3799e /src | |
parent | a965a37810f5fbbc35a435f1912d7f1617e36a81 (diff) | |
download | coreboot-f473df141956d639ccc9e2ad8c60b313294d6e8d.tar.xz |
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.
Change-Id: I6b1bf717c916903999a137998a578b0a866829bd
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3715
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/samsung/exynos5420/spi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cpu/samsung/exynos5420/spi.c b/src/cpu/samsung/exynos5420/spi.c index 906f6a7afa..1c60378f3e 100644 --- a/src/cpu/samsung/exynos5420/spi.c +++ b/src/cpu/samsung/exynos5420/spi.c @@ -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; } |