mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-04 02:20:43 +09:00
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
Block a user