omap: emif: fix bug in manufacturer code test
Code currently tests for <= 0xff. Micron manufacturer code is 0xff, so Micron memory will not be detected! Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
parent
55c1284942
commit
ad0878a749
|
@ -947,7 +947,7 @@ static u8 is_lpddr2_sdram_present(u32 base, u32 cs,
|
|||
}
|
||||
|
||||
mr = get_mr(base, cs, LPDDR2_MR5);
|
||||
if (mr >= 0xFF) {
|
||||
if (mr > 0xFF) {
|
||||
/* Mode register value bigger than 8 bit */
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue