summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2016-07-06 22:08:46 +0200
committerRonald G. Minnich <rminnich@gmail.com>2016-07-14 18:23:46 +0200
commit8aa8caf1914688039cefa8cbb1837e927481f9c1 (patch)
tree7ba255cf83ec11e66b40f6aa7a21d1224406bc78 /src
parent455c3c90643a3a9626af9bc84f6b3dc38f1c6aaf (diff)
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> Reviewed-on: https://review.coreboot.org/15552 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/quark/bootblock/bootblock.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/soc/intel/quark/bootblock/bootblock.c b/src/soc/intel/quark/bootblock/bootblock.c
index 669cd47ac2..4aa774b259 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