coreboot-kgpe-d16/src/drivers
Julius Werner efae69a4ef elog: Fix regression that caused elog to omit "System boot" event
CL:243671 moved the initialization of elog_initialized around, which is
now unfortunately so late that the ELOG_TYPE_BOOT event gets omitted
because the code believes the log to be broken at that time. Good thing
we now have a FAFT test for these things that I had of course been too
lazy to run. -.-

The real reason for moving that line was to put it after any point in
elog_init() that could still error out. The problem is that we might add
the "cleared" event before we try to shrink (which can fail and cause an
error)... but those two things cannot happen at the same time, so it
should be okay to flip them around and mark the elog as initialized in
between.

BRANCH=none
BUG=chrome-os-partner:35940
TEST=Ran firmware_EventLog on a Pinky, manually confirmed that I once
again get "System boot" events.

Change-Id: I12dcf4a8e47d302f6cd317194912c31db502bbaf
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 4a1c0b861017ca25229b1042c4b37dda33e869f9
Original-Change-Id: I4103779790e1a8a53ecabffd4316724035928ce6
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/246715
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/9503
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-13 12:21:06 +02:00
..
ams rtc: Add an RTC driver for the AS3722 PMIC. 2014-12-30 22:11:18 +01:00
ati x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
dec {arch,cpu,drivers,ec}: Don't hide pointers behind typedefs 2014-10-27 23:40:05 +01:00
elog elog: Fix regression that caused elog to omit "System boot" event 2015-04-13 12:21:06 +02:00
emulation {arch,cpu,drivers,ec}: Don't hide pointers behind typedefs 2014-10-27 23:40:05 +01:00
generic x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
gic drivers: add GIC support 2015-03-28 07:05:03 +01:00
i2c TPM: Reduce buffer size to fix stack overflow 2015-04-10 20:06:23 +02:00
ics drivers: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:07 +01:00
intel cbfs: correct types used for accessing files 2015-04-01 22:51:10 +02:00
ipmi Get rid of drivers class 2012-11-27 22:00:49 +01:00
lenovo acpigen: Use implicit length patching in acpigen_write_resourcetemplate_footer 2014-11-19 20:56:59 +01:00
maxim i2c: Replace the i2c API. 2014-12-16 00:02:43 +01:00
net drivers/net/ne2k.c: Fix regression 2014-11-22 15:25:09 +01:00
parade i2c: Replace the i2c API. 2014-12-16 00:02:43 +01:00
pc80 tpm: Remove error message for unknown resource type 2015-04-10 20:04:01 +02:00
ricoh kconfig: drop intermittend forwarder files 2015-04-07 17:40:28 +02:00
sil Get rid of drivers class 2012-11-27 22:00:49 +01:00
spi verstage should include the CBFS SPI wrapper, when configured 2015-03-20 16:04:52 +01:00
ti rtc: Add an RTC driver for the TI TPS65913 PMIC. 2015-04-10 12:01:55 +02:00
trident drivers: Trivial - drop trailing blank lines at EOF 2014-07-08 13:51:47 +02:00
uart OxPCIe952: Fix read8/write8 argument 2015-03-14 00:10:52 +01:00
usb x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
xgi drivers/xgi: Avoid double-free 2015-02-23 20:33:38 +01:00
xpowers drivers/xpowers/axp209: Adapt to new I²C API 2015-02-20 23:20:56 +01:00
Makefile.inc drivers: add GIC support 2015-03-28 07:05:03 +01:00