aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/ocp/monolake/ipmi.c
diff options
context:
space:
mode:
authorJohnny Lin <johnny_lin@wiwynn.com>2019-10-21 10:04:24 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-10-24 15:47:51 +0000
commit241f0a559347a9ee5325b94c0a021dd404da4030 (patch)
tree0abec5993444b554361b4af671fec98fcabb83e9 /src/mainboard/ocp/monolake/ipmi.c
parentf4abe51b74a593962c72bbecd3ff1d95a81c82d6 (diff)
mb/ocp/monolake: Configure IPMI BMC FRB2 watchdog timer via VPD variables
Add VPD variables for enabling/disabling FRB2 watchdog timer and setting the timer countdown value. By default it would start the timer and trigger hard reset when it's expired. The timer is expected to be stopped later by payload or OS. Right now the timer is started after FSP-M. Ideally it should be before FSP-M (to detect memory training error). Tested on OCP Mono Lake. Change-Id: I82b244d08380a0461c92662e025d8b95b3133e23 Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36180 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/ocp/monolake/ipmi.c')
-rw-r--r--src/mainboard/ocp/monolake/ipmi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainboard/ocp/monolake/ipmi.c b/src/mainboard/ocp/monolake/ipmi.c
index 37aacc842e..3f178dc2cc 100644
--- a/src/mainboard/ocp/monolake/ipmi.c
+++ b/src/mainboard/ocp/monolake/ipmi.c
@@ -17,8 +17,6 @@
#include <console/console.h>
#include "ipmi.h"
-#define BMC_KCS_BASE 0xca2
-
int is_ipmi_clear_cmos_set(ipmi_oem_rsp_t *rsp)
{
int ret;