summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/pm/pmlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/pm/pmlib.c b/src/soc/amd/common/block/pm/pmlib.c
index 5ce6b7bd0e..86cb2cf896 100644
--- a/src/soc/amd/common/block/pm/pmlib.c
+++ b/src/soc/amd/common/block/pm/pmlib.c
@@ -37,5 +37,5 @@ void pm_set_power_failure_state(void)
break;
}
- pm_io_write8(PM_RTC_SHADOW_REG, pwr_fail);
+ pm_write8(PM_RTC_SHADOW_REG, pwr_fail);
}