diff options
Diffstat (limited to 'common/mock_x86_power.c')
-rw-r--r-- | common/mock_x86_power.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/common/mock_x86_power.c b/common/mock_x86_power.c index ddf99127e3..e7c24bedd9 100644 --- a/common/mock_x86_power.c +++ b/common/mock_x86_power.c @@ -15,28 +15,14 @@ static int mock_power_on = 0; -void x86_power_cpu_overheated(int too_hot) -{ - /* Print transitions */ - static int last_val = 0; - if (too_hot != last_val) { - if (too_hot) - uart_printf("CPU overheated.\n"); - else - uart_printf("CPU no longer overheated.\n"); - last_val = too_hot; - } -} - - -void x86_power_force_shutdown(void) +void chipset_force_shutdown(void) { uart_puts("Force shutdown\n"); mock_power_on = 0; } -void x86_power_reset(int cold_reset) +void chipset_reset(int cold_reset) { uart_printf("X86 Power %s reset\n", cold_reset ? "cold" : "warm"); } |