diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/amd/amdk8/raminit.c | 2 |
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 */ |