summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-06-28 12:30:53 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-07 03:27:44 +0100
commit10a070b447c2b847352b3fc9b8e23cb51a080309 (patch)
tree4317ef520e06e23a11a3610f4115fc25c75e2603 /src/northbridge/amd
parent8c0cb8ae3b3945a1f61a8eab3b9f41af9a0bb10b (diff)
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. 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> Reviewed-on: http://review.coreboot.org/4332 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/northbridge/amd')
0 files changed, 0 insertions, 0 deletions