summaryrefslogtreecommitdiff
path: root/chip/mchp/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mchp/system.c')
-rw-r--r--chip/mchp/system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/mchp/system.c b/chip/mchp/system.c
index 356313fcd2..72c96bef8f 100644
--- a/chip/mchp/system.c
+++ b/chip/mchp/system.c
@@ -178,7 +178,7 @@ void system_pre_init(void)
MCHP_EC_AHB_ERR_EN = 0; /* enable capture of address on error */
/* Manual voltage selection only required for MEC170x and MEC152x */
- if (IS_ENABLED(CONFIG_HOSTCMD_ESPI))
+ if (IS_ENABLED(CONFIG_HOST_INTERFACE_ESPI))
vtr3_voltage_select(1);
else
vtr3_voltage_select(0);
@@ -427,7 +427,7 @@ int system_get_scratchpad(uint32_t *value)
* defined for MEC170x and the IS_ENABLED() macro causes the
* compiler to evaluate both true and false code paths.
*/
-#if defined(CONFIG_HOSTCMD_ESPI)
+#if defined(CONFIG_HOST_INTERFACE_ESPI)
static void disable_host_ifc_clocks(void)
{
MCHP_ESPI_ACTIVATE &= ~0x01;
@@ -564,7 +564,7 @@ void system_hibernate(uint32_t seconds, uint32_t microseconds)
;
}
-void htimer_interrupt(void)
+static void htimer_interrupt(void)
{
/* Time to wake up */
}