summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/dedede/mainboard.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/mainboard.c b/src/mainboard/google/dedede/mainboard.c
index cb84e1f400..4695a9f5ae 100644
--- a/src/mainboard/google/dedede/mainboard.c
+++ b/src/mainboard/google/dedede/mainboard.c
@@ -5,8 +5,18 @@
#include <baseboard/variants.h>
#include <device/device.h>
#include <ec/ec.h>
+#include <ec/google/chromeec/ec.h>
+#include <halt.h>
+#include <intelblocks/cse.h>
#include <vendorcode/google/chromeos/chromeos.h>
+void cse_board_reset(void)
+{
+ /* TODO: Check tpm firmware version before initiating AP reset. */
+ if (!google_chromeec_ap_reset())
+ halt();
+}
+
__weak void variant_isst_override(void)
{
/*