diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-03-14 19:59:54 -0500 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2015-03-15 02:45:50 +0100 |
commit | b812d5d92fc6f7e2227c10e07478fb0330e3ee94 (patch) | |
tree | 07f024fe3b5e6c7639c96e548f9229ca4f51195d /src | |
parent | 8517f94bfd89175b47f2bbd004fe8fd0f6183528 (diff) | |
download | coreboot-b812d5d92fc6f7e2227c10e07478fb0330e3ee94.tar.gz coreboot-b812d5d92fc6f7e2227c10e07478fb0330e3ee94.tar.bz2 coreboot-b812d5d92fc6f7e2227c10e07478fb0330e3ee94.zip |
northbridge/amd/amdht/h3finit.c: Fix boot failure
GIT hash 586d6e introduced a regression that causes boot failure
with an f0011449 AMD stop code.
Change-Id: Ieced9088b79bc89d55117b7240b82a086eff9d21
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/8685
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/amd/amdht/h3finit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/amd/amdht/h3finit.c b/src/northbridge/amd/amdht/h3finit.c index 47bf80972fb5..1f94b44a9f79 100644 --- a/src/northbridge/amd/amdht/h3finit.c +++ b/src/northbridge/amd/amdht/h3finit.c @@ -77,7 +77,7 @@ static const uint16_t ht_speed_limit[16] = static const struct ht_speed_limit_map_t { uint16_t mhz; - uint8_t config; + uint8_t nvram; } ht_speed_limit_map[] = { {0, NVRAM_LIMIT_HT_SPEED_AUTO}, {200, NVRAM_LIMIT_HT_SPEED_200}, @@ -102,7 +102,7 @@ static const uint16_t ht_speed_mhz_to_hw(uint16_t mhz) size_t i; for (i = 0; i < ARRAY_SIZE(ht_speed_limit_map); i++) if (ht_speed_limit_map[i].mhz == mhz) - return ht_speed_limit_map[i].config; + return ht_speed_limit[ht_speed_limit_map[i].nvram]; printk(BIOS_WARNING, "WARNING: Invalid HT link limit frequency %d specified, ignoring...\n", |