summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-05-10 18:15:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-10 18:15:50 +0200
commitbac01839b063697200d5b957b652da197b8f0b1d (patch)
tree8b2441ee12fd42abf152d990eda478aaf722e4e9 /common
parent65cfdbebb19f0b1c8d322a3eb9ec464d669a4d3f (diff)
parenta306c1c0bd09e7ee074d113b8a86bd815ef64017 (diff)
downloadbarebox-bac01839b063697200d5b957b652da197b8f0b1d.tar.gz
Merge branch 'for-next/misc'
Diffstat (limited to 'common')
-rw-r--r--common/ddr_spd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ddr_spd.c b/common/ddr_spd.c
index 0ba5eac..23df3e7 100644
--- a/common/ddr_spd.c
+++ b/common/ddr_spd.c
@@ -325,7 +325,7 @@ void ddr_spd_print(uint8_t *record)
printf("Error module type\n");
printf("%-48s ", "DRAM Package ");
- if ((s->mod_ranks & 0x10) == 1)
+ if ((s->mod_ranks & 0x10) != 0)
printf("Stack\n");
else
printf("Planar\n");