summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan/ec.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-08-04 14:25:59 -0500
committerMartin Roth <martinroth@google.com>2016-08-08 22:04:31 +0200
commit281c994ce27df242ad516cf723da22c9a00c4143 (patch)
tree706b5ff048eb30e6a55c1f74e759cc9970867e26 /src/mainboard/google/cyan/ec.c
parent422c440fa67d003a65196edac56318cd0da81bf6 (diff)
drivers/elog: use region_device for mirroring into ram
A region_device can be used to represent the in-memory mirror of the event log. The region_device infrastructure has builtin bounds checking so there's no need to duplicate that. In addition, it allows for removing much of the math juggling for the buffer size, etc. BUG=chrome-os-partner:55932 Change-Id: Ic7fe9466019640b449257c5905ed919ac522bb58 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/16097 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/cyan/ec.c')
0 files changed, 0 insertions, 0 deletions