diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-10 18:15:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-10 18:15:50 +0200 |
commit | bac01839b063697200d5b957b652da197b8f0b1d (patch) | |
tree | 8b2441ee12fd42abf152d990eda478aaf722e4e9 /common | |
parent | 65cfdbebb19f0b1c8d322a3eb9ec464d669a4d3f (diff) | |
parent | a306c1c0bd09e7ee074d113b8a86bd815ef64017 (diff) | |
download | barebox-bac01839b063697200d5b957b652da197b8f0b1d.tar.gz barebox-bac01839b063697200d5b957b652da197b8f0b1d.tar.xz |
Merge branch 'for-next/misc'
Diffstat (limited to 'common')
-rw-r--r-- | common/ddr_spd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ddr_spd.c b/common/ddr_spd.c index 0ba5eaceae..23df3e7119 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"); |