]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap-common/emif-common.c
omap: emif: fix bug in manufacturer code test
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap-common / emif-common.c
index 61ade4c598705ed7efb116236e08947c8de0995b..7c2352c7fd5a22308e71bb4f995b9e4adef27729 100644 (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;
        }