projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bd1f94
)
Includes fix from Craig C Forney
author
David W. Hendricks
<dwh@lanl.gov>
Fri, 19 Mar 2004 20:05:42 +0000
(20:05 +0000)
committer
David W. Hendricks
<dwh@lanl.gov>
Fri, 19 Mar 2004 20:05:42 +0000
(20:05 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1452
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
src/northbridge/amd/amdk8/raminit.c
patch
|
blob
|
history
diff --git
a/src/northbridge/amd/amdk8/raminit.c
b/src/northbridge/amd/amdk8/raminit.c
index d7cee6948262acbc9a3a2d5719fdf9d4825d8089..e5bcb2d02f22f17da69b06b39652efb077734b09 100644
(file)
--- a/
src/northbridge/amd/amdk8/raminit.c
+++ b/
src/northbridge/amd/amdk8/raminit.c
@@
-924,7
+924,7
@@
static void set_dimm_size(const struct mem_controller *ctrl, struct dimm_size sz
sz.side2 = 0;
}
map = pci_read_config32(ctrl->f2, DRAM_BANK_ADDR_MAP);
- map &= ~(0xf << (index
+
4));
+ map &= ~(0xf << (index
*
4));
/* For each base register.
* Place the dimm size in 32 MB quantities in the bits 31 - 21.