coreboot/src/drivers
Gabe Black 84a93d1bc3 elog: Stream line the elog driver.
The elog driver's design was a bit more elaborate than it really needed to be
since it no longer had to keep track of multiple copies of the log in flash
and also in memory. This change streamlines it by removing unnecessary
compartmentalization of some bits of code, and some variables which tracked
the last entry added which were never used.

Built and booted on Link. Ran mosys eventlog list. Added 2000 events to
the event log and ran mosys eventlog list again. Cleared the log by echoing 1
into /sys/firmware/gsmi/clear_eventlog and ran mosys eventlog list.

Change-Id: I7d4cdebf2f5b1f6bb1fc70e65eca18f71b124b18
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/49309
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/4244
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-12-02 15:17:53 +01:00
..
ati drivers: Fix spelling 2013-07-10 20:18:15 +02:00
dec GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
elog elog: Stream line the elog driver. 2013-12-02 15:17:53 +01:00
emulation qemu: minor bochs cleanups 2013-11-26 09:14:57 +01:00
generic x86 I/O APIC: Make functions io_apic_{read,write}() public 2013-05-07 22:40:10 +02:00
i2c drivers: Fix spelling 2013-07-10 20:18:15 +02:00
ics Get rid of drivers class 2012-11-27 22:00:49 +01:00
ipmi Get rid of drivers class 2012-11-27 22:00:49 +01:00
maxim max77802: add header for max77802 PMIC 2013-07-10 22:35:26 +02:00
oxford Rename cpu/x86/car.h to arch/early_variables.h 2013-10-13 12:47:05 +02:00
parade parade: Add a driver for the parade ps8625. 2013-07-10 23:20:39 +02:00
pc80 pc80/mc146818rtc: Return an error code rather than an integer 2013-11-25 23:59:59 +01:00
realtek GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
sil Get rid of drivers class 2012-11-27 22:00:49 +01:00
spi SPI: Support STMicro partial page write 2013-08-23 05:07:11 +02:00
ti [2/2] tps65090: re-factor for coreboot 2013-04-10 17:34:19 +02:00
trident Get rid of drivers class 2012-11-27 22:00:49 +01:00
Kconfig parade: Add a driver for the parade ps8625. 2013-07-10 23:20:39 +02:00
Makefile.inc Fix whitespace leaked into tree 2013-09-17 21:04:35 +02:00