nyan*: Add eventlog support
This enables event logging support for Nyan platforms. Right now this doesn't do a whole lot. We can add events in later CLs. BUG=none BRANCH=none TEST=built and booted for Nyan Rev. 1, eventlog gets initialized if necessary and can be printed by "mosys eventlog list" Signed-off-by: David Hendricks <dhendrix@chromium.org> Change-Id: Id77a78f55c8bff9ef0ffc7109c8b03c270e8b6b1 Reviewed-on: https://chromium-review.googlesource.com/191200 Reviewed-by: Gabe Black <gabeblack@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org> Commit-Queue: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
1b56566786
commit
1bb1a00863
6 changed files with 9 additions and 0 deletions
|
|
@ -7,3 +7,4 @@ CONFIG_CONSOLE_CBMEM=y
|
|||
CONFIG_CONSOLE_PRERAM_BUFFER_SIZE=0x1fe0
|
||||
CONFIG_VBOOT_VERIFY_FIRMWARE=y
|
||||
CONFIG_FLASHMAP_OFFSET=0x00100000
|
||||
CONFIG_ELOG=y
|
||||
|
|
|
|||
|
|
@ -7,3 +7,4 @@ CONFIG_CONSOLE_CBMEM=y
|
|||
CONFIG_CONSOLE_PRERAM_BUFFER_SIZE=0x1fe0
|
||||
CONFIG_VBOOT_VERIFY_FIRMWARE=y
|
||||
CONFIG_FLASHMAP_OFFSET=0x00100000
|
||||
CONFIG_ELOG=y
|
||||
|
|
|
|||
|
|
@ -7,3 +7,4 @@ CONFIG_CONSOLE_CBMEM=y
|
|||
CONFIG_CONSOLE_PRERAM_BUFFER_SIZE=0x1fe0
|
||||
CONFIG_VBOOT_VERIFY_FIRMWARE=y
|
||||
CONFIG_FLASHMAP_OFFSET=0x00100000
|
||||
CONFIG_ELOG=y
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <elog.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/clock.h>
|
||||
|
|
@ -241,6 +242,7 @@ static void mainboard_init(device_t dev)
|
|||
setup_kernel_info();
|
||||
clock_init_arm_generic_timer();
|
||||
setup_ec_spi();
|
||||
elog_init();
|
||||
}
|
||||
|
||||
static void mainboard_enable(device_t dev)
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <elog.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/clock.h>
|
||||
|
|
@ -239,6 +240,7 @@ static void mainboard_init(device_t dev)
|
|||
setup_kernel_info();
|
||||
clock_init_arm_generic_timer();
|
||||
setup_ec_spi();
|
||||
elog_init();
|
||||
}
|
||||
|
||||
static void mainboard_enable(device_t dev)
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <elog.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/clock.h>
|
||||
|
|
@ -239,6 +240,7 @@ static void mainboard_init(device_t dev)
|
|||
setup_kernel_info();
|
||||
clock_init_arm_generic_timer();
|
||||
setup_ec_spi();
|
||||
elog_init();
|
||||
}
|
||||
|
||||
static void mainboard_enable(device_t dev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue