summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorRicardo Quesada <ricardoq@google.com>2021-09-03 17:47:43 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-09-16 17:28:16 +0000
commit683b294d3f46be2af451ff003c397cf2d1591308 (patch)
tree9fd6a4a4912069f543f1f74aac5d40690bd14eea /src/mainboard
parent42e61fbb326ea44e5eb158da2c7a75c7f8d003fe (diff)
elogtool: add "add" command
Adds "add" command to elogtool. This command allows adding elog events manually. It supports event type and, optionally, event data. If the free buffer space is < 1/4 of the total space, it shrinks the buffer, making sure that ~1/4 of the free space is available. BUG=b:172210863 TEST=./elogtool add 0x17 0101 ./elogtool add 0x18 Repeated the same tests on buffers that needed to be shrunk. Change-Id: Ia6fdf4f951565f842d1bff52173811b52f617f66 Signed-off-by: Ricardo Quesada <ricardoq@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57397 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions