coreboot/src/drivers
Aaron Durbin 5981272dcb UPSTREAM: drivers/elog: remove unnecessary check in elog_shrink()
There was a check against the next event offset against
the shrink size in elog_shrink(). However, all calls
to elog_shrink() were conditionalized on the next
event offset exceeding the full threshold. The shrink
size is set to the minimum of the full threshold and
a percentage of the elog region size. Therefore, it's
impossible for the next event offset to be less than
the shrink size because full threshold is always greater
than or equal to the shrink size.

BUG=chrome-os-partner:55932
BRANCH=None
TEST=None

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16093
Reviewed-by: Furquan Shaikh <furquan@google.com>

Change-Id: Ie6ff106f1c53c15aa36a82223a235a7ac97fd8c7
Reviewed-on: https://chromium-review.googlesource.com/368284
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-08-13 01:03:28 -07:00
..
ams drivers/ams: Set default values in Kconfig 2015-11-22 01:39:44 +01:00
aspeed UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
ati/ragexl drivers/ati: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:20 +02:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog UPSTREAM: drivers/elog: remove unnecessary check in elog_shrink() 2016-08-13 01:03:28 -07:00
emulation/qemu drivers/emulation: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:08 +02:00
generic UPSTREAM: acpi: Change device properties to work as a tree 2016-07-09 01:39:55 -07:00
gic arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
i2c UPSTREAM: i2c/w83795: Fix chip type message 2016-08-09 17:11:12 -07:00
ics/954309 drivers/ics: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:43 +02:00
intel UPSTREAM: drivers/intel/fsp1_1: only set a base address for FSP in COREBOOT CBFS 2016-08-12 13:45:08 -07:00
ipmi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lenovo UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
maxim drivers/aspeed: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:17 +02:00
net UPSTREAM: drivers/net/r8168: Add driver for realtek nic 2016-06-01 20:36:56 -07:00
parade parade/ps8640: Initialize edid_size 2016-05-08 08:11:26 +02:00
pc80 UPSTREAM: src/drivers: Capitalize CPU, RAM and ACPI 2016-08-04 23:38:02 -07:00
ricoh/rce822 drivers/ricoh: Fully switch to src/drivers/[X]/[Y]/ scheme 2016-04-22 20:11:52 +02:00
siemens/nc_fpga UPSTREAM: siemens/nc_fpga: Add driver for Siemens NC FPGA 2016-07-07 01:09:51 -07:00
sil/3114 drivers/sil: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:05 +02:00
spi UPSTREAM: drivers/spi: Add support for Micron N25Q128A 2016-08-12 13:44:56 -07:00
ti drivers/ti: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:36 +02:00
uart UPSTREAM: drivers/uart: Enable debug serial output during postcar 2016-07-26 12:27:00 -07:00
usb tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
xgi UPSTREAM: Add newlines at the end of all coreboot files 2016-08-05 11:45:17 -07:00
xpowers/axp209 UPSTREAM: Remove non-ascii & unprintable characters 2016-08-05 11:45:20 -07:00