summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/veyron_brain/mainboard.c6
-rw-r--r--src/mainboard/google/veyron_danger/mainboard.c6
-rw-r--r--src/mainboard/google/veyron_rialto/mainboard.c6
3 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/google/veyron_brain/mainboard.c b/src/mainboard/google/veyron_brain/mainboard.c
index ab6ceab502..8e2bbb61e3 100644
--- a/src/mainboard/google/veyron_brain/mainboard.c
+++ b/src/mainboard/google/veyron_brain/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"
@@ -90,6 +92,10 @@ static void mainboard_init(device_t dev)
configure_emmc();
configure_codec();
configure_vop();
+
+ elog_init();
+ elog_add_watchdog_reset();
+ elog_add_boot_reason();
}
static void mainboard_enable(device_t dev)
diff --git a/src/mainboard/google/veyron_danger/mainboard.c b/src/mainboard/google/veyron_danger/mainboard.c
index 716b2b8643..8f01783157 100644
--- a/src/mainboard/google/veyron_danger/mainboard.c
+++ b/src/mainboard/google/veyron_danger/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"
@@ -105,6 +107,10 @@ static void mainboard_init(device_t dev)
configure_emmc();
configure_codec();
configure_vop();
+
+ elog_init();
+ elog_add_watchdog_reset();
+ elog_add_boot_reason();
}
static void mainboard_enable(device_t dev)
diff --git a/src/mainboard/google/veyron_rialto/mainboard.c b/src/mainboard/google/veyron_rialto/mainboard.c
index 6593c6f721..d03a917c09 100644
--- a/src/mainboard/google/veyron_rialto/mainboard.c
+++ b/src/mainboard/google/veyron_rialto/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"
@@ -78,6 +80,10 @@ static void mainboard_init(device_t dev)
configure_emmc();
configure_codec();
/* No video. */
+
+ elog_init();
+ elog_add_watchdog_reset();
+ elog_add_boot_reason();
}
static void mainboard_enable(device_t dev)