veyron_{brain,danger,rialto}: Enable eventlogging

This brings brain, danger, and rialto up to parity with other
veyron platforms as far as eventlog functionality is concerned.

BUG=chrome-os-partner:34436
BRANCH=none
TEST="mosys eventlog list" shows events (tested on Brain)

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: Ief09299965f6f21bc5a40cef31cde61344025c2a
Reviewed-on: https://chromium-review.googlesource.com/239979
Reviewed-by: Julius Werner <jwerner@chromium.org>
(cherry picked from commit 1764bc53147718031231a6d125a4a1a96c4c6a8f)
jwerner: removed danger and rialto
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/247157
This commit is contained in:
David Hendricks 2015-02-02 17:23:29 -08:00 committed by Julius Werner
commit d355fad043
2 changed files with 7 additions and 0 deletions

View file

@ -26,6 +26,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select CHROMEOS
select CHROMEOS_VBNV_FLASH
select COMMON_CBFS_SPI_WRAPPER
select ELOG
select HAVE_HARD_RESET
select MAINBOARD_DO_NATIVE_VGA_INIT
select MAINBOARD_HAS_BOOTBLOCK_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"
@ -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)