ryu: Add support for event log
BUG=chrome-os-partner:33764 BRANCH=None TEST=Event logs verified on ryu across multiple boots. Change-Id: I50d052bb15ec6616b0bf82bf1f1acf9080f4c54b Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/229415 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
c16c11e620
commit
fbe6290de7
2 changed files with 7 additions and 0 deletions
|
|
@ -6,3 +6,7 @@ CONFIG_CONSOLE_CBMEM=y
|
|||
CONFIG_MTS_DIRECTORY="3rdparty/mainboard/google/rush_ryu"
|
||||
CONFIG_VBOOT2_VERIFY_FIRMWARE=y
|
||||
CONFIG_FLASHMAP_OFFSET=0x00200000
|
||||
CONFIG_ELOG=y
|
||||
CONFIG_DRIVERS_TI_TPS65913_RTC=y
|
||||
CONFIG_DRIVERS_TI_TPS65913_RTC_BUS=4
|
||||
CONFIG_DRIVERS_TI_TPS65913_RTC_ADDR=0x58
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
#include <boot/coreboot_tables.h>
|
||||
#include <cbmem.h>
|
||||
#include <device/device.h>
|
||||
#include <elog.h>
|
||||
#include <memrange.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/clk_rst.h>
|
||||
|
|
@ -98,6 +99,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();
|
||||
|
||||
fix_ec_sw_sync();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue