summaryrefslogtreecommitdiff
path: root/src/mainboard/google/veyron_brain
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2015-02-02 17:23:29 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-17 09:58:47 +0200
commitefe279d422fcdae72f9ad54b348aa445a8e45666 (patch)
treed71a0d91eca0396113d80696da1dcf91c3184e93 /src/mainboard/google/veyron_brain
parent44004b370860146409f4b099c0a1f26afafefffe (diff)
veyron_{brain,danger,rialto}: Enable eventlogging
This brings brain, danger, and rialto up to parity with other veyron platforms as far as eventlog functionality is concerned. BUG=chrome-os-partner:34436 BRANCH=none TEST="mosys eventlog list" shows events (tested on Brain) Change-Id: I186c5d18e5351c0eaf08ffecfd87506283c44b19 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 1764bc53147718031231a6d125a4a1a96c4c6a8f Original-Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: Ief09299965f6f21bc5a40cef31cde61344025c2a Original-Reviewed-on: https://chromium-review.googlesource.com/239979 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/9755 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/veyron_brain')
-rw-r--r--src/mainboard/google/veyron_brain/mainboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/veyron_brain/mainboard.c b/src/mainboard/google/veyron_brain/mainboard.c
index ab6ceab502..8e2bbb61e3 100644
--- a/src/mainboard/google/veyron_brain/mainboard.c
+++ b/src/mainboard/google/veyron_brain/mainboard.c
@@ -25,6 +25,7 @@
#include <device/device.h>
#include <device/i2c.h>
#include <edid.h>
+#include <elog.h>
#include <gpio.h>
#include <soc/display.h>
#include <soc/grf.h>
@@ -36,6 +37,7 @@
#include <soc/i2c.h>
#include <symbols.h>
#include <vbe.h>
+#include <vendorcode/google/chromeos/chromeos.h>
#include "board.h"
@@ -90,6 +92,10 @@ static void mainboard_init(device_t dev)
configure_emmc();
configure_codec();
configure_vop();
+
+ elog_init();
+ elog_add_watchdog_reset();
+ elog_add_boot_reason();
}
static void mainboard_enable(device_t dev)