From a5d2a8d18be1bfb1a7787c2e845a38404e422151 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Fri, 2 Jan 2015 14:03:04 -0800 Subject: veyron_*: Enable eventlogging BUG=chrome-os-partner:34436 BRANCH=none TEST=Built and booted on pinky w/ depthcharge fmap patch, used mosys to verify that eventlog entries get populated: entry="0" timestamp="2015-01-06 13:45:33" type="Log area cleared" bytes="4096" entry="1" timestamp="2015-01-06 13:45:33" type="System boot" count="0" entry="2" timestamp="2015-01-06 13:45:33" type="Chrome OS Developer Mode" Change-Id: I74ba8b271328453c8b91f11e7858754a80806c31 Signed-off-by: Stefan Reinauer Original-Commit-Id: 197010f057f4835a30ed2e71f47ca51fc181afe4 Original-Signed-off-by: David Hendricks Original-Change-Id: I19cb884be5c3e00975599e96e0223e33d32e7c0d Original-Reviewed-on: https://chromium-review.googlesource.com/238830 Original-Reviewed-by: Julius Werner Original-Commit-Queue: Julius Werner Original-Tested-by: Julius Werner Reviewed-on: http://review.coreboot.org/9644 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/veyron_mighty/mainboard.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google/veyron_mighty') diff --git a/src/mainboard/google/veyron_mighty/mainboard.c b/src/mainboard/google/veyron_mighty/mainboard.c index e0057c68f3..540b23dc34 100644 --- a/src/mainboard/google/veyron_mighty/mainboard.c +++ b/src/mainboard/google/veyron_mighty/mainboard.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -36,6 +37,7 @@ #include #include #include +#include #include "board.h" @@ -119,6 +121,9 @@ static void mainboard_init(device_t dev) configure_emmc(); configure_codec(); configure_vop(); + + elog_init(); + elog_add_boot_reason(); } static void mainboard_enable(device_t dev) -- cgit v1.2.3