Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/72649 )
Change subject: include/cpu/amd/mtrr: drop unused TOP_MEM_MASK definitions ......................................................................
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 --- M src/include/cpu/amd/mtrr.h 1 file changed, 17 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified Paul Menzel: Looks good to me, but someone else must approve Elyes Haouas: Looks good to me, approved
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h index bc3f313..f1b95b6 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>