summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r--src/soc/amd/stoneyridge/Makefile.inc4
-rw-r--r--src/soc/amd/stoneyridge/pmutil.c14
2 files changed, 0 insertions, 18 deletions
diff --git a/src/soc/amd/stoneyridge/Makefile.inc b/src/soc/amd/stoneyridge/Makefile.inc
index fb0a45bd65..311ea6886b 100644
--- a/src/soc/amd/stoneyridge/Makefile.inc
+++ b/src/soc/amd/stoneyridge/Makefile.inc
@@ -17,7 +17,6 @@ bootblock-y += gpio.c
bootblock-y += i2c.c
bootblock-y += enable_usbdebug.c
bootblock-y += monotonic_timer.c
-bootblock-y += pmutil.c
bootblock-y += tsc_freq.c
bootblock-y += southbridge.c
bootblock-$(CONFIG_HAVE_SMI_HANDLER) += smi_util.c
@@ -28,7 +27,6 @@ romstage-y += romstage.c
romstage-y += enable_usbdebug.c
romstage-y += gpio.c
romstage-y += monotonic_timer.c
-romstage-y += pmutil.c
romstage-y += smbus_spd.c
romstage-y += memmap.c
romstage-$(CONFIG_STONEYRIDGE_UART) += uart.c
@@ -40,7 +38,6 @@ romstage-y += psp.c
verstage-y += gpio.c
verstage-y += i2c.c
verstage-y += monotonic_timer.c
-verstage-y += pmutil.c
verstage-$(CONFIG_STONEYRIDGE_UART) += uart.c
verstage-y += tsc_freq.c
@@ -61,7 +58,6 @@ ramstage-y += gpio.c
ramstage-y += monotonic_timer.c
ramstage-y += southbridge.c
ramstage-y += northbridge.c
-ramstage-y += pmutil.c
ramstage-y += sata.c
ramstage-y += memmap.c
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c
diff --git a/src/soc/amd/stoneyridge/pmutil.c b/src/soc/amd/stoneyridge/pmutil.c
deleted file mode 100644
index a2ad2db4c1..0000000000
--- a/src/soc/amd/stoneyridge/pmutil.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <acpi/acpi.h>
-#include <soc/southbridge.h>
-#include <amdblocks/acpimmio.h>
-#include <security/vboot/vboot_common.h>
-#include <security/vboot/vbnv.h>
-#include <pc80/mc146818rtc.h>
-
-int vbnv_cmos_failed(void)
-{
- /* If CMOS power has failed, the century will be set to 0xff */
- return cmos_read(RTC_CLK_ALTCENTURY) == 0xff;
-}