From 89c0526e583a10ba3f052f15c7ec0f4e22d41c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Wed, 6 Jul 2016 22:08:46 +0200 Subject: [PATCH] UPSTREAM: soc/intel/quark/bootblock: Remove clear_smi_and_wake_events It is not used in this file. BUG=None BRANCH=None TEST=None Change-Id: I59bb41370b97b79073c0fd82b1dbcae9fd8a62d0 Original-Reported-by: GCC 6.1.0 Original-Signed-off-by: Jonathan Neuschfer Original-Reviewed-on: https://review.coreboot.org/15552 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Paul Menzel Original-Reviewed-by: Ronald G. Minnich Signed-off-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/360814 Reviewed-by: Duncan Laurie --- 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 669cd47ac2..4aa774b259 100644 --- a/src/soc/intel/quark/bootblock/bootblock.c +++ b/src/soc/intel/quark/bootblock/bootblock.c @@ -21,15 +21,6 @@ #include #include -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