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:
Steve Sakoman 2012-05-30 07:38:08 +00:00 committed by Albert ARIBAUD
parent 55c1284942
commit ad0878a749

View File

@ -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;
}