[coreboot-gerrit] Patch merged into coreboot/master: elog: Use rdev_mmap to find offset of ELOG
gerrit at coreboot.org
gerrit at coreboot.org
Mon Jul 18 08:12:16 CEST 2016
the following patch was just integrated into master:
commit e19d9af9eed7540f52d39d746314877ab6e0bfe5
Author: Furquan Shaikh <furquan at google.com>
Date: Fri Jul 15 15:54:36 2016 -0700
elog: Use rdev_mmap to find offset of ELOG
In case of elog not being stored in CBMEM, calculate flash offset by
using rdev_mmap instead of assuming that the entire flash is mapped just
below 4GiB. This allows custom mappings of flash to correctly convert
the flash offset to mmap address.
BUG=chrome-os-partner:54186
TEST=Verified behavior on reef. mosys able to read out the elog correctly.
Change-Id: I3eacd2c9266ecc3da1bd45c86ff9d0e8153ca3f2
Signed-off-by: Furquan Shaikh <furquan at google.com>
Reviewed-on: https://review.coreboot.org/15722
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
See https://review.coreboot.org/15722 for details.
-gerrit
More information about the coreboot-gerrit
mailing list