summaryrefslogtreecommitdiff
path: root/src/mainboard/google/veyron_pinky
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2015-01-02 14:03:04 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-17 09:56:20 +0200
commita5d2a8d18be1bfb1a7787c2e845a38404e422151 (patch)
treeb6651e524d4b1a95543821391b04c68840f7616b /src/mainboard/google/veyron_pinky
parent731bfefd785729fddde667cc9a34bb6bcddec812 (diff)
downloadcoreboot-a5d2a8d18be1bfb1a7787c2e845a38404e422151.tar.xz
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 <reinauer@chromium.org> Original-Commit-Id: 197010f057f4835a30ed2e71f47ca51fc181afe4 Original-Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: I19cb884be5c3e00975599e96e0223e33d32e7c0d Original-Reviewed-on: https://chromium-review.googlesource.com/238830 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Original-Commit-Queue: Julius Werner <jwerner@chromium.org> Original-Tested-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/9644 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/veyron_pinky')
-rw-r--r--src/mainboard/google/veyron_pinky/mainboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/veyron_pinky/mainboard.c b/src/mainboard/google/veyron_pinky/mainboard.c
index 8e7b20f18f..c6636b1d8f 100644
--- a/src/mainboard/google/veyron_pinky/mainboard.c
+++ b/src/mainboard/google/veyron_pinky/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"
@@ -163,6 +165,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)