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"

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: I19cb884be5c3e00975599e96e0223e33d32e7c0d
Reviewed-on: https://chromium-review.googlesource.com/238830
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Julius Werner <jwerner@chromium.org>
Tested-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/242155
This commit is contained in:
David Hendricks 2015-01-02 14:03:04 -08:00 committed by ChromeOS Commit Bot
commit 36b1e95d55
14 changed files with 42 additions and 0 deletions

View file

@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_SPI
select EC_SOFTWARE_SYNC
select ELOG
select RAM_CODE_SUPPORT
select SOC_ROCKCHIP_RK3288
select MAINBOARD_DO_NATIVE_VGA_INIT

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"
@ -106,6 +108,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

@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_SPI
select EC_SOFTWARE_SYNC
select ELOG
select RAM_CODE_SUPPORT
select SOC_ROCKCHIP_RK3288
select MAINBOARD_DO_NATIVE_VGA_INIT

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"
@ -106,6 +108,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

@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_SPI
select EC_SOFTWARE_SYNC
select ELOG
select RAM_CODE_SUPPORT
select SOC_ROCKCHIP_RK3288
select MAINBOARD_DO_NATIVE_VGA_INIT

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"
@ -115,6 +117,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

@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_SPI
select EC_SOFTWARE_SYNC
select ELOG
select RAM_CODE_SUPPORT
select SOC_ROCKCHIP_RK3288
select MAINBOARD_DO_NATIVE_VGA_INIT

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"
@ -115,6 +117,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

@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_SPI
select EC_SOFTWARE_SYNC
select ELOG
select RAM_CODE_SUPPORT
select SOC_ROCKCHIP_RK3288
select MAINBOARD_DO_NATIVE_VGA_INIT

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"
@ -106,6 +108,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

@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_SPI
select EC_SOFTWARE_SYNC
select ELOG
select RAM_CODE_SUPPORT
select SOC_ROCKCHIP_RK3288
select MAINBOARD_DO_NATIVE_VGA_INIT

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"
@ -159,6 +161,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

@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_SPI
select EC_SOFTWARE_SYNC
select ELOG
select RAM_CODE_SUPPORT
select SOC_ROCKCHIP_RK3288
select MAINBOARD_DO_NATIVE_VGA_INIT

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"
@ -115,6 +117,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)