summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@chromium.org>2019-07-26 13:17:13 -0600
committerCommit Bot <commit-bot@chromium.org>2019-07-29 18:57:04 +0000
commite7417e0a9e2c4ea3fee8dad3ab6db063a2a15bc4 (patch)
tree900c5725c784bf5426ef6b556d94f0ec5ff2a2c2
parentd4a07be7e2638d79ab13c8ad60f68070e36d7310 (diff)
downloadchrome-ec-e7417e0a9e2c4ea3fee8dad3ab6db063a2a15bc4.tar.gz
Zork: Change host_cmd to be ESPI
This functionality requires a chipset_handle_espi_reset_assert to be defined. I created on in power/stoney.c but it is not filled in for what is needed. Not sure anything needs to be done but leaving a placeholder to make sure to follow up for verification. BUG=none BRANCH=none TEST=make buildall -j Change-Id: I4c21e75c0ed7cafbc7f2058e9bd3c36bc8314c3a Signed-off-by: Denis Brockus <dbrockus@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1721517 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org>
-rw-r--r--baseboard/zork/baseboard.h2
-rw-r--r--power/stoney.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/baseboard/zork/baseboard.h b/baseboard/zork/baseboard.h
index 0f2cf3f3f8..4028ebca62 100644
--- a/baseboard/zork/baseboard.h
+++ b/baseboard/zork/baseboard.h
@@ -33,7 +33,7 @@
#define CONFIG_CMD_AP_RESET_LOG
#define CONFIG_EC_FEATURE_BOARD_OVERRIDE
#define CONFIG_HIBERNATE_PSL
-#define CONFIG_HOSTCMD_LPC
+#define CONFIG_HOSTCMD_ESPI
#define CONFIG_HOSTCMD_SKUID
#define CONFIG_I2C
#define CONFIG_I2C_BUS_MAY_BE_UNPOWERED
diff --git a/power/stoney.c b/power/stoney.c
index 1cc08de9fc..a01c56819e 100644
--- a/power/stoney.c
+++ b/power/stoney.c
@@ -12,7 +12,6 @@
#include "gpio.h"
#include "hooks.h"
#include "lid_switch.h"
-#include "lpc.h"
#include "power.h"
#include "power_button.h"
#include "system.h"
@@ -75,6 +74,11 @@ void chipset_throttle_cpu(int throttle)
gpio_set_level(GPIO_CPU_PROCHOT, throttle);
}
+/* TODO: Create the real chipset_handle_espi_reset_assert function */
+void chipset_handle_espi_reset_assert(void)
+{
+}
+
enum power_state power_chipset_init(void)
{
/* Pause in S5 when shutting down. */