summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/gru/mainboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/gru/mainboard.c b/src/mainboard/google/gru/mainboard.c
index 55b5486ccc..5a6b82cbb1 100644
--- a/src/mainboard/google/gru/mainboard.c
+++ b/src/mainboard/google/gru/mainboard.c
@@ -19,6 +19,7 @@
#include <device/device.h>
#include <device/i2c.h>
#include <ec/google/chromeec/ec.h>
+#include <elog.h>
#include <gpio.h>
#include <rtc.h>
#include <soc/bl31_plat_params.h>
@@ -28,6 +29,7 @@
#include <soc/grf.h>
#include <soc/i2c.h>
#include <soc/usb.h>
+#include <vendorcode/google/chromeos/chromeos.h>
#include "board.h"
@@ -187,6 +189,9 @@ static void mainboard_init(device_t dev)
register_reset_to_bl31();
register_poweroff_to_bl31();
setup_rtc();
+
+ elog_init();
+ elog_add_boot_reason();
}
static void enable_backlight_booster(void)