summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-14 05:56:35 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-15 04:42:21 +0000
commit826f35421e190d3358a56deba8b582d18c264e8b (patch)
tree3198c94c6da001eea26b725d8922d91b2ba04cfc /src
parent89d7fd8100f2bde86be18e94d7b3497e621ca8c9 (diff)
downloadcoreboot-826f35421e190d3358a56deba8b582d18c264e8b.tar.xz
intel/denverton_ns: Drop unused save_gpio_route
Change-Id: I58131d77ba23024cd23e38584f8062d330d2564f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34867 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: David Guckian
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/denverton_ns/include/soc/smm.h1
-rw-r--r--src/soc/intel/denverton_ns/smm.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/src/soc/intel/denverton_ns/include/soc/smm.h b/src/soc/intel/denverton_ns/include/soc/smm.h
index a020891dd5..182f1c4bf3 100644
--- a/src/soc/intel/denverton_ns/include/soc/smm.h
+++ b/src/soc/intel/denverton_ns/include/soc/smm.h
@@ -28,7 +28,6 @@ struct smm_relocation_attrs {
#include <stdint.h>
void southcluster_smm_clear_state(void);
void southcluster_smm_enable_smi(void);
-void southcluster_smm_save_gpio_route(uint32_t route);
#endif
#endif /* _DENVERTON_NS_SMM_H_ */
diff --git a/src/soc/intel/denverton_ns/smm.c b/src/soc/intel/denverton_ns/smm.c
index 2df6994fcd..fd4f35c8f8 100644
--- a/src/soc/intel/denverton_ns/smm.c
+++ b/src/soc/intel/denverton_ns/smm.c
@@ -27,12 +27,6 @@
#include <soc/pm.h>
#include <soc/smm.h>
-/* Save the gpio route register. The settings are committed from
- * southcluster_smm_enable_smi(). */
-static uint32_t gpio_route;
-
-void southcluster_smm_save_gpio_route(uint32_t route) { gpio_route = route; }
-
void southcluster_smm_clear_state(void)
{
uint32_t smi_en;