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>
This commit is contained in:
David Hendricks 2015-01-02 14:03:04 -08:00 committed by Patrick Georgi
parent 731bfefd78
commit a5d2a8d18b
4 changed files with 20 additions and 0 deletions

View File

@ -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"
@ -119,6 +121,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)

View File

@ -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"
@ -119,6 +121,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)

View File

@ -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)

View File

@ -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"
@ -119,6 +121,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)