summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2012-12-21 22:18:58 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-15 16:58:54 +0100
commit1570260ba15692e8eafe6af1718aebbbf4ab6a43 (patch)
treec861fc6dcb4e664831dc55c06c855f20b4f5c3f1 /src/northbridge
parent1fef1f51779307ff65a82b8fd86ff9fa6d2bcae0 (diff)
downloadcoreboot-1570260ba15692e8eafe6af1718aebbbf4ab6a43.tar.xz
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@chromium.org> Reviewed-on: http://review.coreboot.org/2689 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/haswell/northbridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/haswell/northbridge.c b/src/northbridge/intel/haswell/northbridge.c
index 7059e2cbee..d6869c1124 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"),
};