diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2012-10-15 14:30:28 -0700 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2012-11-12 17:11:53 +0100 |
commit | ad6779138238dc34e8f9da47730229b5891b5fe1 (patch) | |
tree | c92f05257aef5f6072402459452e1753ed8ef014 /src/lib | |
parent | 08067ba9cbf9904f6637775fe64c8b43229896b6 (diff) |
Avoid using hardcoded values in MRC cache code
The MRC cache code, as implemented, in some cases uses configuration
settings for MRC cache region, and in some cases - the values read
from FMAP. These do not necessarily match, the code should use FMAP
across the board.
This change also refactors mrccache.c to limit number of iterations
through the cache area and number of fmap area searches.
Change-Id: Idb9cb70ead4baa3601aa244afc326d5be0d06446
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/1788
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions