Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9426
-gerrit
commit 677e37bf551c10df797052d5f4c3835a6df757bf Author: Furquan Shaikh furquan@google.com Date: Wed Nov 12 16:24:57 2014 -0800
google/rush_ryu: Add support for event log
BUG=chrome-os-partner:33764 BRANCH=None TEST=Event logs verified on ryu across multiple boots.
Change-Id: Iff4a60b3904ef0fcdd2513df579db8f5877808de Signed-off-by: Patrick Georgi pgeorgi@chromium.org Original-Commit-Id: fbe6290de7eaed0d66a26cc2389181a8d38a59d6 Original-Change-Id: I50d052bb15ec6616b0bf82bf1f1acf9080f4c54b Original-Signed-off-by: Furquan Shaikh furquan@google.com Original-Reviewed-on: https://chromium-review.googlesource.com/229415 Original-Reviewed-by: Aaron Durbin adurbin@chromium.org Original-Tested-by: Furquan Shaikh furquan@chromium.org Original-Commit-Queue: Furquan Shaikh furquan@chromium.org --- src/mainboard/google/rush_ryu/mainboard.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/mainboard/google/rush_ryu/mainboard.c b/src/mainboard/google/rush_ryu/mainboard.c index 0f98229..1a78e02 100644 --- a/src/mainboard/google/rush_ryu/mainboard.c +++ b/src/mainboard/google/rush_ryu/mainboard.c @@ -20,6 +20,7 @@ #include <arch/mmu.h> #include <boot/coreboot_tables.h> #include <device/device.h> +#include <elog.h> #include <memrange.h> #include <soc/addressmap.h> #include <soc/clk_rst.h> @@ -27,6 +28,7 @@ #include <soc/funitcfg.h> #include <soc/nvidia/tegra/i2c.h> #include <soc/padconfig.h> +#include <vendorcode/google/chromeos/chromeos.h>
static const struct pad_config mmcpads[] = { /* MMC4 (eMMC) */ @@ -72,6 +74,8 @@ static void mainboard_init(device_t dev) /* I2C6 bus (audio, etc.) */ soc_configure_i2c6pad(); i2c_init(I2C6_BUS); + elog_init(); + elog_add_boot_reason(); }
static void mainboard_enable(device_t dev)