From efe279d422fcdae72f9ad54b348aa445a8e45666 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Mon, 2 Feb 2015 17:23:29 -0800 Subject: 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 Original-Commit-Id: 1764bc53147718031231a6d125a4a1a96c4c6a8f Original-Signed-off-by: David Hendricks Original-Change-Id: Ief09299965f6f21bc5a40cef31cde61344025c2a Original-Reviewed-on: https://chromium-review.googlesource.com/239979 Original-Reviewed-by: Julius Werner Reviewed-on: http://review.coreboot.org/9755 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/veyron_rialto/mainboard.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mainboard/google/veyron_rialto') diff --git a/src/mainboard/google/veyron_rialto/mainboard.c b/src/mainboard/google/veyron_rialto/mainboard.c index 6593c6f721..d03a917c09 100644 --- a/src/mainboard/google/veyron_rialto/mainboard.c +++ b/src/mainboard/google/veyron_rialto/mainboard.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -36,6 +37,7 @@ #include #include #include +#include #include "board.h" @@ -78,6 +80,10 @@ static void mainboard_init(device_t dev) configure_emmc(); configure_codec(); /* No video. */ + + elog_init(); + elog_add_watchdog_reset(); + elog_add_boot_reason(); } static void mainboard_enable(device_t dev) -- cgit v1.2.3