diff options
author | Patrick Rudolph <siro@das-labor.org> | 2018-12-27 11:41:35 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-05 13:24:30 +0000 |
commit | 6bbc8d8050b1d51ec4bf15003a2da54e20d476c7 (patch) | |
tree | 8eab4601bfe8d880c1d4ecde36ca77c5273ea5b6 /src/mainboard/lenovo/t420/mainboard.c | |
parent | 8d010db58e5cd9d26ff7c5c7d4dd93a6df0fcbb7 (diff) |
cpu/x86/mtrr: Fix sign overflow
Use unsigned long to prevent sign overflow.
Fixes wrong MTRRs settings on x86_64 romstage.
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Change-Id: I71b61a45becc17bf60a619e4131864c82a16b0d1
Reviewed-on: https://review.coreboot.org/c/30502
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/lenovo/t420/mainboard.c')
0 files changed, 0 insertions, 0 deletions