diff options
author | Furquan Shaikh <furquan@google.com> | 2016-03-16 16:12:06 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-03-18 19:14:52 +0100 |
commit | 331ac1b07896140a14dbb079b3cb907762cec218 (patch) | |
tree | 8352f21b1d295a9e4a9b0bc801735e584ca324ee /src/drivers/spi/eon.c | |
parent | 39e55209dce7d971c2e5b53706c5124e1ec01bb3 (diff) |
mtrr: Define a function for obtaining free var mtrr
Instead of hard-coding var mtrr numbers in code, use this function to
identify the first available variable mtrr. If no such mtrr is
available, the function will return -1.
Change-Id: I2a1e02cdb45c0ab7e30609641977471eaa2431fd
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/14115
Tested-by: build bot (Jenkins)
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Diffstat (limited to 'src/drivers/spi/eon.c')
0 files changed, 0 insertions, 0 deletions