diff options
author | Steve Sakoman <steve@sakoman.com> | 2012-05-30 07:38:08 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:35 +0200 |
commit | ad0878a7492928696a93245c1f9190d51eebe549 (patch) | |
tree | 3d4ad52f5d5f24e0cde355af56d3ab6d45d0cfd7 /arch/arm | |
parent | 55c1284942b18cf83a297d33c8746aadcbf5f096 (diff) | |
download | u-boot-imx-ad0878a7492928696a93245c1f9190d51eebe549.zip u-boot-imx-ad0878a7492928696a93245c1f9190d51eebe549.tar.gz u-boot-imx-ad0878a7492928696a93245c1f9190d51eebe549.tar.bz2 |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/emif-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/emif-common.c b/arch/arm/cpu/armv7/omap-common/emif-common.c index 61ade4c..7c2352c 100644 --- a/arch/arm/cpu/armv7/omap-common/emif-common.c +++ b/arch/arm/cpu/armv7/omap-common/emif-common.c @@ -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; } |