coreboot/src/drivers
Sol Boucher b41914952d elog: Eliminate CONFIG_ELOG_FULL_THRESHOLD and CONFIG_ELOG_SHRINK_SIZE
These Kconfig options provided a level of configurability that is
almost never necessary, so they are being moved into ordinary
preprocessor defines in elog_internal.h. The new threshold to
trigger shrinking is relative to the number of additional
(maximum-size) events that can fit, and the new target
post-shrink size is a percentage of the total ELOG area size.

BUG=chromium:467820
TEST=Add loop at the end of elog_init() that fills the ELOG area
to just below full_threshold with dummy events. Observe
successful shrinkage when the next event is logged.
BRANCH=None

Change-Id: I414c4955a2d819d112ae4f0c7d3571576f732336
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: ce439361e3954a2bf5186292f96936329171cf56
Original-Change-Id: I926097f86262888dcdd47d73fba474bb2e19856a
Original-Signed-off-by: Sol Boucher <solb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/260501
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-on: http://review.coreboot.org/9869
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-04-22 08:42:22 +02:00
..
ams as3277: Fix month-off-by-one error for RTC driver 2015-04-17 09:20:54 +02: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: Eliminate CONFIG_ELOG_FULL_THRESHOLD and CONFIG_ELOG_SHRINK_SIZE 2015-04-22 08:42:22 +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 arm(64): Globally replace writel(v, a) with write32(a, v) 2015-04-21 08:22:28 +02:00
i2c Unify byte order macros and clrsetbits 2015-04-21 08:23:25 +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 Unify byte order macros and clrsetbits 2015-04-21 08:23:25 +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 flash: use two bytes of device ID to identify stmicro chips 2015-04-17 10:10:52 +02: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 uart: pass register width in the coreboot table 2015-04-17 09:53:39 +02:00
usb Unify byte order macros and clrsetbits 2015-04-21 08:23:25 +02:00
xgi arm(64): Globally replace writel(v, a) with write32(a, v) 2015-04-21 08:22:28 +02: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