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>
This commit is contained in:
Aaron Durbin 2012-12-21 22:18:58 -06:00 committed by Stefan Reinauer
parent 1fef1f5177
commit 1570260ba1
1 changed files with 2 additions and 2 deletions

View File

@ -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"),
};