switch-coreboot/src
Julius Werner 98f2907909 UPSTREAM: elog: Ensure eventlog will always get initialized when configured in
Commit 0d9cd92e (chromeos: Clean up elog handling) removed the
individual elog_init() calls from mainboards that did them and automated
adding certain events through the boot state machine. Unfortunately,
the new code would sometimes not log any specific event at all, and
thereby also never call elog_init() (through elog_add_event()) which
adds the "System boot" event.

We can assume that any board that configures the eventlog at all
actually wants to use it, so let's just add another call to elog_init()
to the boot state machine so we can ensure it gets called at least once.

BRANCH=None
BUG=chrome-os-partner:56001
TEST=Booted Kevin, confirmed that eventlog code runs again.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/16118
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Change-Id: Ibe7bfc94b3e3d11ba881399a39f9915991c89d8c
Reviewed-on: https://chromium-review.googlesource.com/368946
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
2016-08-14 19:50:09 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: acpi: Generate object for coreboot table region 2016-08-12 13:45:10 -07:00
commonlib UPSTREAM: commonlib/region: make buffer argument const for writeat 2016-08-13 01:03:13 -07:00
console UPSTREAM: arch/x86: Enable postcar console 2016-08-04 23:38:34 -07:00
cpu UPSTREAM: Remove non-ascii & unprintable characters 2016-08-05 11:45:20 -07:00
device UPSTREAM: src/device: Capitalize CPU, RAM and ROM 2016-08-04 23:37:13 -07:00
drivers UPSTREAM: elog: Ensure eventlog will always get initialized when configured in 2016-08-14 19:50:09 -07:00
ec UPSTREAM: google/chromeec: Enable/Disable ccache with config variable 2016-08-12 18:28:22 -07:00
include UPSTREAM: drivers/elog: provide return status for all operations 2016-08-14 15:11:27 -07:00
lib UPSTREAM: lib/timestamp: Add timestamps to CBMEM in POSTCAR stage 2016-08-11 12:24:16 -07:00
mainboard UPSTREAM: gigbyte/ga-g41m-es2l: add cmos.layout and cmos.default 2016-08-14 15:11:10 -07:00
northbridge UPSTREAM: x4x: make preallocated IGD memory a cmos option 2016-08-14 13:26:27 -07:00
soc UPSTREAM: soc/nvidia/tegra210: remove unused spi boot device support 2016-08-13 22:55:10 -07:00
southbridge UPSTREAM: chromeos chipsets: select RTC usage 2016-08-13 01:03:18 -07:00
superio UPSTREAM: superio/*: Relocate Kconfig to chip folder. 2016-08-14 13:26:19 -07:00
vboot UPSTREAM: src/vboot: Capitalize RAM and CPU 2016-08-04 23:38:06 -07:00
vendorcode UPSTREAM: vendorcode/amd: Remove dead code 2016-08-14 13:26:22 -07:00
Kconfig UPSTREAM: superio/*: Relocate Kconfig to chip folder. 2016-08-14 13:26:19 -07:00