[coreboot] New patch to review for coreboot: 4920f6b haswell: Fix BDSM and BGSM indicies in memory map

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Mar 13 02:42:17 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2689

-gerrit

commit 4920f6b3db5b0182fe7fa324b546249239cc0483
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Fri Dec 21 22:18:58 2012 -0600

    haswell: Fix BDSM and BGSM indicies in memory map
    
    This wasn't previously spotted because the printk's were correct.
    However if one needed to get the value of the BDSM or BGSM register
    the value would reflect the other register's value.
    
    Change-Id: Ieec7360a74a65292773b61e14da39fc7d8bfad46
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/northbridge/intel/haswell/northbridge.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/northbridge/intel/haswell/northbridge.c b/src/northbridge/intel/haswell/northbridge.c
index 7059e2c..d6869c1 100644
--- a/src/northbridge/intel/haswell/northbridge.c
+++ b/src/northbridge/intel/haswell/northbridge.c
@@ -298,8 +298,8 @@ static struct map_entry memory_map[NUM_MAP_ENTRIES] = {
 	[REMAP_BASE_REG] = MAP_ENTRY_BASE_64(REMAPBASE, "REMAP_BASE"),
 	[REMAP_LIMIT_REG] = MAP_ENTRY_LIMIT_64(REMAPLIMIT, "REMAP_LIMIT"),
 	[TOLUD_REG] = MAP_ENTRY_BASE_32(TOLUD, "TOLUD"),
-	[BGSM_REG] = MAP_ENTRY_BASE_32(BDSM, "BDSM"),
-	[BDSM_REG] = MAP_ENTRY_BASE_32(BGSM, "BGSM"),
+	[BDSM_REG] = MAP_ENTRY_BASE_32(BDSM, "BDSM"),
+	[BGSM_REG] = MAP_ENTRY_BASE_32(BGSM, "BGSM"),
 	[TSEG_REG] = MAP_ENTRY_BASE_32(TSEG, "TESGMB"),
 };
 



More information about the coreboot mailing list