From 826f35421e190d3358a56deba8b582d18c264e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 14 Aug 2019 05:56:35 +0300 Subject: intel/denverton_ns: Drop unused save_gpio_route MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I58131d77ba23024cd23e38584f8062d330d2564f Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34867 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: David Guckian --- src/soc/intel/denverton_ns/include/soc/smm.h | 1 - src/soc/intel/denverton_ns/smm.c | 6 ------ 2 files changed, 7 deletions(-) (limited to 'src/soc') 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 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 #include -/* 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; -- cgit v1.2.3