summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/spi.c
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@amd.corp-partner.google.com>2018-07-26 10:51:38 -0700
committerMartin Roth <martinroth@google.com>2018-07-31 00:46:07 +0000
commit7108107fa2b205ec1cd042923815c6c5342e7ae9 (patch)
tree481f0e0aab2406aec526af3d0876fe373896d2df /src/soc/amd/stoneyridge/spi.c
parent90b2cca81fcb38e2bda94c8715519d1aa4a9d8c1 (diff)
downloadcoreboot-7108107fa2b205ec1cd042923815c6c5342e7ae9.tar.xz
src/soc/amd/stoneyridge: Remove IMC support
Per AMD, the Integrated Micro Controller is not a supported feature of the Stoney Ridge APU. Systems are expected to implement an external EC for desired features. Remove all stoney IMC files and functions from src/soc/amd/stoneyridge. There are 2 "IMC bits" left (and used) that are not truly IMC. New BKDG describe these bits, so a new patch will be released later to fix the names and comment. BUG=b:111780177 TEST=Build grunt and gardenia Change-Id: I6a24e4c3f03d04713a030b884c611d9c64c4cb3a Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/27651 Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/stoneyridge/spi.c')
-rw-r--r--src/soc/amd/stoneyridge/spi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/soc/amd/stoneyridge/spi.c b/src/soc/amd/stoneyridge/spi.c
index 718ad94bec..9baf43397e 100644
--- a/src/soc/amd/stoneyridge/spi.c
+++ b/src/soc/amd/stoneyridge/spi.c
@@ -29,7 +29,6 @@
#include <device/pci_ops.h>
#include <soc/southbridge.h>
#include <soc/pci_devs.h>
-#include <soc/imc.h>
#define SPI_DEBUG_DRIVER IS_ENABLED(CONFIG_DEBUG_SPI_FLASH)
@@ -169,15 +168,11 @@ static int spi_ctrlr_xfer(const struct spi_slave *slave, const void *dout,
int chipset_volatile_group_begin(const struct spi_flash *flash)
{
- if (IS_ENABLED(CONFIG_STONEYRIDGE_IMC_FWM))
- imc_sleep();
return 0;
}
int chipset_volatile_group_end(const struct spi_flash *flash)
{
- if (IS_ENABLED(CONFIG_STONEYRIDGE_IMC_FWM))
- imc_wakeup();
return 0;
}