ddr_spd: Fix mod_ranks test
((x & 0x10) == 1) can never be true. Test for the bit at 0x10 instead.

Signed-off-by: 张忠山 <zzs213@126.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 05e69a1 commit fd074a7a7961af9db076f2b82ccb9d9ba2a63f43
@张忠山 张忠山 authored on 9 Apr 2019
Sascha Hauer committed on 10 Apr 2019
Showing 1 changed file
View
common/ddr_spd.c