summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2016-12-05 21:02:09 -0800
committerMartin Roth <martinroth@google.com>2016-12-07 20:16:06 +0100
commit2dc8b77d0e95dbb90a99ff5dc2b162b805faba18 (patch)
treef3177483d4376a132b8f85753df7dee7c1c49a98 /src
parent847da793833d2d16d964cedc225aabe7e85e9284 (diff)
downloadcoreboot-2dc8b77d0e95dbb90a99ff5dc2b162b805faba18.tar.xz
soc/intel/skylake: Remove unwanted spi_release call
Skylake uses a special SPI Flash controller and does not require spi_claim_bus and spi_release_bus functionality. This was a leftover call from earlier cleanup, so remove it. Change-Id: Iea260813cf72b94b7e7c661dbe494a74351dc357 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/17729 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/skylake/flash_controller.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/flash_controller.c b/src/soc/intel/skylake/flash_controller.c
index 994aec6b5d..501f80f3ce 100644
--- a/src/soc/intel/skylake/flash_controller.c
+++ b/src/soc/intel/skylake/flash_controller.c
@@ -191,7 +191,6 @@ int pch_hwseq_erase(const struct spi_flash *flash, u32 offset, size_t len)
len, start);
out:
- spi_release_bus(&flash->spi);
return ret;
}