summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Zumbiehl <florz@florz.de>2011-11-01 20:18:28 +0100
committerRudolf Marek <r.marek@assembler.cz>2011-11-16 22:40:21 +0100
commit6f7b1589fa82a2cc654e4f35ce2dc0787d84ce0f (patch)
tree2b36b056f5ab960bf85cf4e91b0d57dfcc425c2b /src
parentba9b09b89ad552700a72c74e335c572422898d76 (diff)
downloadcoreboot-6f7b1589fa82a2cc654e4f35ce2dc0787d84ce0f.tar.xz
fix DDR_MASK in load-dependent clock limiting for socket 939 in k8 raminit
Change-Id: Ibdce9712f5019863b1cd61b68da11d7c46c6b6f8 Signed-off-by: Florian Zumbiehl <florz@florz.de> Reviewed-on: http://review.coreboot.org/376 Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/amd/amdk8/raminit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdk8/raminit.c b/src/northbridge/amd/amdk8/raminit.c
index 3583dc39b6..237272c88b 100644
--- a/src/northbridge/amd/amdk8/raminit.c
+++ b/src/northbridge/amd/amdk8/raminit.c
@@ -1399,7 +1399,7 @@ static unsigned int spd_dimm_loading_socket939(const struct mem_controller *ctrl
#define DDR333 (NBCAP_MEMCLK_166MHZ + 1)
#define DDR400 (NBCAP_MEMCLK_200MHZ + 1)
#define DDR_2T 0x80
-#define DDR_MASK 0x3
+#define DDR_MASK 0x7
#define DDR200_2T (DDR_2T | DDR200)
#define DDR333_2T (DDR_2T | DDR333)