summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/oak/mainboard.c5
1 files changed, 5 insertions, 0 deletions
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 <delay.h>
#include <device/device.h>
+#include <elog.h>
#include <gpio.h>
#include <soc/bl31_plat_params.h>
#include <soc/mt6391.h>
@@ -27,6 +28,7 @@
#include <soc/pinmux.h>
#include <soc/pll.h>
#include <soc/usb.h>
+#include <vendorcode/google/chromeos/chromeos.h>
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)