From 887cf3017ac3e51d38bb0f65553b5d28da9ce1f1 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 15 Feb 2021 17:22:19 +0100 Subject: soc/intel/common: Drop unused `fast_spi_flash_read_wpsr` function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also remove one macro that was only used inside that function. Change-Id: Id798e08375c5757aa99288ca4a7df923309f4d67 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/50753 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/soc/intel/common/block/include/intelblocks/fast_spi.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/soc/intel/common/block/include') diff --git a/src/soc/intel/common/block/include/intelblocks/fast_spi.h b/src/soc/intel/common/block/include/intelblocks/fast_spi.h index e742a27a42..3ba240baf3 100644 --- a/src/soc/intel/common/block/include/intelblocks/fast_spi.h +++ b/src/soc/intel/common/block/include/intelblocks/fast_spi.h @@ -9,11 +9,6 @@ * Disable the BIOS write protect and Enable Prefetching and Caching. */ void fast_spi_init(void); -/* - * Minimal set of commands to read WPSR from SPI. - * Returns 0 on success, < 0 on failure. - */ -int fast_spi_flash_read_wpsr(u8 *sr); /* * Set FAST_SPIBAR BIOS Control BILD bit. */ -- cgit v1.2.3