coreboot/src/drivers/elog
Aaron Durbin 2e92f1080c elog: handle ROM_SIZE differences from detected flash size
The elog code calculates flash offsets and their equivalent
addresses in the memory address space. However, it assumes
the detected flash size is entirely mapped into the address
space. This can lead to incorrect calculations. Add code
to allow ROM_SIZE to be less than detected flash size. The
underlying assumption is that the first ROM_SIZE bytes are
programmed into the larger device.

BUG=None
BRANCH=None
TEST=Built and ran a 8MiB image on a 16MiB flash part.

Change-Id: Id848f136515289b40594b7d3762e26e3e55da62f
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/60501
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2013-06-28 15:25:41 -07:00
..
boot_count.c ELOG: Add support for a monotonic boot counter in CMOS 2012-07-25 00:47:10 +02:00
elog.c elog: handle ROM_SIZE differences from detected flash size 2013-06-28 15:25:41 -07:00
elog_internal.h elog: Get rid of the descriptor type and some unnecessary wrappers. 2013-06-14 16:15:36 -07:00
gsmi.c ELOG: Add support for SMM and kernel GSMI driver 2012-07-26 00:19:42 +02:00
Kconfig GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
Makefile.inc ELOG: Add support for SMM and kernel GSMI driver 2012-07-26 00:19:42 +02:00