From 0b6ab953f3ee4c1fb9fe7ab7d580f3a7165b6c98 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 19 Nov 2020 12:13:09 +0100 Subject: [PATCH] util/inteltool/ivy_memory.c: Properly mask tAONPD This field is only 4 bits wide. Change-Id: I2cb746e98176d58fc5be423e18babdaa8801b096 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/47749 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Arthur Heymans --- util/inteltool/ivy_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/inteltool/ivy_memory.c b/util/inteltool/ivy_memory.c index 7a81a92dba..3836c11c15 100644 --- a/util/inteltool/ivy_memory.c +++ b/util/inteltool/ivy_memory.c @@ -158,7 +158,7 @@ void ivybridge_dump_timings(const char *dump_spd_file) reg = read_mchbar32(0x400c + channel * 0x400); tXPDLL[channel] = reg & 0x1f; tXP[channel] = (reg >> 5) & 7; - tAONPD[channel] = (reg >> 8) & 0xff; + tAONPD[channel] = (reg >> 8) & 0xf; } printf(".mobile = %d,\n", (mr0[0] >> 12) & 1); print_time("CAS", CAS, tCK);