From 8475f2d0c554a67741824a4a9d84ddc0c31a0778 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 17 Sep 2015 11:53:27 -0700 Subject: skylake: Leave SPI controller enabled Leave the SPI controller enabled upon boot block exit. BRANCH=none BUG=chrome-os-partner:44827 TEST=Build and run on kunimitsu Change-Id: I5b10d7cc8d5d350282206abe6a945bab66f97ada Signed-off-by: Lee Leahy Reviewed-on: http://review.coreboot.org/11825 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/soc/intel/skylake/bootblock/cpu.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/soc/intel/skylake/bootblock/cpu.c b/src/soc/intel/skylake/bootblock/cpu.c index b29acb75ef..3a29972370 100644 --- a/src/soc/intel/skylake/bootblock/cpu.c +++ b/src/soc/intel/skylake/bootblock/cpu.c @@ -120,11 +120,6 @@ static void set_pch_cpu_strap(u8 flex_ratio) ssl = read32(spibar + SPIBAR_RESET_LOCK); ssl |= SPIBAR_RESET_LOCK_ENABLE; write32(spibar + SPIBAR_RESET_LOCK, ssl); - - /* Disable SPI Controller MMIO space */ - pcireg = pci_read_config8(dev, PCI_COMMAND); - pcireg &= ~(PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY); - pci_write_config8(dev, PCI_COMMAND, pcireg); } static void set_flex_ratio_to_tdp_nominal(void) -- cgit v1.2.3