diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-05-10 23:35:56 +0000 |
---|---|---|
committer | Vincent Palatin <vpalatin@chromium.org> | 2012-05-15 18:34:50 -0700 |
commit | b74cbd8a74d15bde904b99912df9663a58073bbb (patch) | |
tree | f442a46b161c4aea3881424cdd6b184f52000910 /common/thermal.c | |
parent | dd839d851aa6369a81423da9d59762950f21c592 (diff) | |
download | chrome-ec-b74cbd8a74d15bde904b99912df9663a58073bbb.tar.gz |
de-LPCify the EC host interface
Preparatory work to use common host command code between ARM and x86.
Just rename constants, do not change the binary API.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:9614
TEST=make BOARD=link
Change-Id: I534d427c9b50103273835a6f32a0ddb622c762b3
Diffstat (limited to 'common/thermal.c')
-rw-r--r-- | common/thermal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/thermal.c b/common/thermal.c index e9296b6433..9aa3e5d066 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -10,7 +10,7 @@ #include "console.h" #include "gpio.h" #include "lpc.h" -#include "lpc_commands.h" +#include "ec_commands.h" #include "pwm.h" #include "task.h" #include "temp_sensor.h" @@ -89,14 +89,14 @@ int thermal_toggle_auto_fan_ctrl(int auto_fan_on) static void smi_overheated_warning(void) { lpc_set_host_events( - EC_LPC_HOST_EVENT_MASK(EC_LPC_HOST_EVENT_THERMAL_OVERLOAD)); + EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL_OVERLOAD)); } static void smi_sensor_failure_warning(void) { lpc_set_host_events( - EC_LPC_HOST_EVENT_MASK(EC_LPC_HOST_EVENT_THERMAL)); + EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL)); } |