diff options
author | Furquan Shaikh <furquan@google.com> | 2016-07-15 15:54:36 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-07-18 08:12:12 +0200 |
commit | e19d9af9eed7540f52d39d746314877ab6e0bfe5 (patch) | |
tree | 130177f722a54fe1a257ac126e0aa03f2022680f /src/mainboard/ti | |
parent | d83b0e9ac4174cca92ac2c3b83a7e8491a9a1ff4 (diff) |
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@google.com>
Reviewed-on: https://review.coreboot.org/15722
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/ti')
0 files changed, 0 insertions, 0 deletions