[coreboot] [v2] r4137 - trunk/coreboot-v2/src/northbridge/amd/amdk8
svn at coreboot.org
svn at coreboot.org
Sun Apr 19 01:04:29 CEST 2009
Author: mjones
Date: 2009-04-19 01:04:28 +0200 (Sun, 19 Apr 2009)
New Revision: 4137
Modified:
trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c
Log:
There is a typo in amdk8/raminit_f.c regarding the preprocessor symbol QRANK_DIMM_SUPPORT in line 2208, which caused the protected code fragment never to be included for compilation.
Signed-off-by: Ronald Hoogenboom <hoogenboom30 at zonnet.nl>
Acked-by: Marc Jones <marcj303 at gmail.com>
Modified: trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c
===================================================================
--- trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c 2009-04-18 18:10:38 UTC (rev 4136)
+++ trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c 2009-04-18 23:04:28 UTC (rev 4137)
@@ -2205,9 +2205,10 @@
static void set_4RankRDimm(const struct mem_controller *ctrl,
const struct mem_param *param, struct mem_info *meminfo)
{
-#if QRANK_DIMM_SUPPRT == 1
+#if QRANK_DIMM_SUPPORT == 1
int value;
int i;
+ long dimm_mask = meminfo->dimm_mask;
if (!(meminfo->is_registered)) return;
@@ -2219,7 +2220,7 @@
continue;
}
- if (meminfo->sz.rank == 4) {
+ if (meminfo->sz[i].rank == 4) {
value = 1;
break;
}
More information about the coreboot
mailing list