diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-02-15 17:22:19 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-02-18 23:57:54 +0000 |
commit | 887cf3017ac3e51d38bb0f65553b5d28da9ce1f1 (patch) | |
tree | 3127e2dda40bcf2f3087bfb04387c30142ed845b /src/soc/intel/common/block/include/intelblocks | |
parent | 520724327088b3fc9d2bd1c25094242982fc1521 (diff) |
soc/intel/common: Drop unused `fast_spi_flash_read_wpsr` function
Also remove one macro that was only used inside that function.
Change-Id: Id798e08375c5757aa99288ca4a7df923309f4d67
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50753
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/soc/intel/common/block/include/intelblocks')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/fast_spi.h | 5 |
1 files changed, 0 insertions, 5 deletions
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 @@ -10,11 +10,6 @@ */ 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. */ void fast_spi_set_bios_interface_lock_down(void); |