diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-09-22 16:12:58 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-09-24 19:38:44 +0000 |
commit | 9b2d1d8f61f598fb69a0c69f997bd8ca5190ef3f (patch) | |
tree | 90d4d23e0d422bb778664d81f0a8e66f6323359f /src/include/thread.h | |
parent | ee63b44c47cbb8c81ce0e173bbc12129c3edbe71 (diff) |
include/cpu/x86/mtrr: define NUM_FIXED_MTRRS once in mtrr.h
Instead of defining NUM_FIXED_MTRRS in both cpu/x86/mp_init.h and
cpu/x86/mtrr/mtrr.c in two different ways that will evaluate to the same
value, define it once in include/cpu/x86/mtrr.h which is included in
both C files.
TEST=Timeless build for amd/mandolin results in identical firmware image
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I71cec61e22f5ce76baef21344c7427be29f193f8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67774
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src/include/thread.h')
0 files changed, 0 insertions, 0 deletions