Jonathan Neuschäfer (j.neuschaefer@gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15552
-gerrit
commit 37c1b1cdde0abfe696dac0ecd32b587ab7a55b4c Author: Jonathan Neuschäfer j.neuschaefer@gmx.net Date: Wed Jul 6 22:08:46 2016 +0200
soc/intel/quark/bootblock: Remove clear_smi_and_wake_events
It is not used in this file.
Change-Id: I59bb41370b97b79073c0fd82b1dbcae9fd8a62d0 Reported-by: GCC 6.1.0 Signed-off-by: Jonathan Neuschäfer j.neuschaefer@gmx.net --- src/soc/intel/quark/bootblock/bootblock.c | 9 --------- 1 file changed, 9 deletions(-)
diff --git a/src/soc/intel/quark/bootblock/bootblock.c b/src/soc/intel/quark/bootblock/bootblock.c index 669cd47..4aa774b 100644 --- a/src/soc/intel/quark/bootblock/bootblock.c +++ b/src/soc/intel/quark/bootblock/bootblock.c @@ -21,15 +21,6 @@ #include <soc/pci_devs.h> #include <soc/reg_access.h>
-static const struct reg_script clear_smi_and_wake_events[] = { - /* Clear any SMI or wake events */ - REG_GPE0_READ(R_QNC_GPE0BLK_GPE0S), - REG_GPE0_READ(R_QNC_GPE0BLK_SMIS), - REG_GPE0_OR(R_QNC_GPE0BLK_GPE0S, B_QNC_GPE0BLK_GPE0S_ALL), - REG_GPE0_OR(R_QNC_GPE0BLK_SMIS, B_QNC_GPE0BLK_SMIS_ALL), - REG_SCRIPT_END -}; - static const struct reg_script legacy_gpio_init[] = { /* Temporarily enable the legacy GPIO controller */ REG_PCI_WRITE32(R_QNC_LPC_GBA_BASE, IO_ADDRESS_VALID