summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2004-03-19 15:58:18 +0000
committerStefan Reinauer <stepan@openbios.org>2004-03-19 15:58:18 +0000
commita3a59bf1047475d6ba0cd18dae8860c77a19ea21 (patch)
treef603f8a17f3cc1c34b3c28b5fcdb216e1adc6693 /src/northbridge/amd
parent08376d1c66648aca87377733692102dbf69eb14f (diff)
downloadcoreboot-a3a59bf1047475d6ba0cd18dae8860c77a19ea21.tar.xz
fix typo that keeps solo from working
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1448 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd')
-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 bc73fcba16..d7cee69482 100644
--- a/src/northbridge/amd/amdk8/raminit.c
+++ b/src/northbridge/amd/amdk8/raminit.c
@@ -880,7 +880,7 @@ static struct dimm_size spd_get_dimm_size(unsigned device)
low = spd_read_byte(device, 6); /* (low byte) */
if (low < 0) goto hw_err;
value = value | (low & 0xff);
- if ((value != 72) && (value &= 64)) goto val_err;
+ if ((value != 72) && (value != 64)) goto val_err;
sz.side1 += log2(value);
/* side 2 */