From 72980b15de5507f06e39818f8a9a9dd0c87f4aa5 Mon Sep 17 00:00:00 2001 From: CC Ma Date: Tue, 15 Sep 2015 17:33:38 +0800 Subject: google/oak: add event log BRANCH=none BUG=none TEST=boot to shell on Rev3 Change-Id: Ifca80705e392ce171ef33bf98ef787e3cd5ffd6b Signed-off-by: Patrick Georgi Original-Commit-Id: 7d511df7f527ae96c2da01804c62fe98a13fed56 Original-Change-Id: I68ab8be50f210fa17bd731b400a087b150566e3b Original-Signed-off-by: CC Ma Original-Reviewed-on: https://chromium-review.googlesource.com/303207 Original-Commit-Ready: Yidi Lin Original-Tested-by: Yidi Lin Original-Reviewed-by: Julius Werner Reviewed-on: https://review.coreboot.org/13104 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/oak/mainboard.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c index 15454183d4..544041f6a9 100644 --- a/src/mainboard/google/oak/mainboard.c +++ b/src/mainboard/google/oak/mainboard.c @@ -20,6 +20,7 @@ #include #include +#include #include #include #include @@ -27,6 +28,7 @@ #include #include #include +#include static void register_da9212_to_bl31(void) { @@ -170,6 +172,9 @@ static void mainboard_init(device_t dev) configure_backlight(); configure_usb(); configure_bl31(); + + elog_init(); + elog_add_boot_reason(); } static void mainboard_enable(device_t dev) -- cgit v1.2.3