summaryrefslogtreecommitdiff
path: root/src/include/cpu/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-01-31 22:21:24 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-02-02 13:47:47 +0000
commit341d1bb7246896ada1d6e8da5491e56aee3d7845 (patch)
tree70aa11f441286540a8e1c92990b4d53700e10352 /src/include/cpu/amd
parentcc132038e2b095c81e48081bb2f6345b2f2545e3 (diff)
include/cpu/amd/mtrr: drop unused TOP_MEM_MASK definitions
Neither TOP_MEM_MASK nor TOP_MEM_MASK_KB is used, so drop the two definitions. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I0b2dfb7be27884dffb948876aabb73f99834c281 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72649 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/include/cpu/amd')
-rw-r--r--src/include/cpu/amd/mtrr.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h
index bc3f313f42..f1b95b6636 100644
--- a/src/include/cpu/amd/mtrr.h
+++ b/src/include/cpu/amd/mtrr.h
@@ -37,9 +37,6 @@
#define TOP_MEM2 0xC001001Dul
#endif
-#define TOP_MEM_MASK 0x007fffff
-#define TOP_MEM_MASK_KB (TOP_MEM_MASK >> 10)
-
#if !defined(__ASSEMBLER__)
#include <cpu/x86/msr.h>