Merge branch 'master' of git://git.denx.de/u-boot-x86
[oweals/u-boot.git] / arch / arm / cpu / armv7 / omap3 / sdrc.c
index a27b4b124e7c4c1726d28c3eca3e051921e9e9da..91f42c0e2cd1dc9df1d7a30633f30e6137ef6cdf 100644 (file)
@@ -102,7 +102,7 @@ u32 get_sdr_cs_offset(u32 cs)
                return 0;
 
        offset = readl(&sdrc_base->cs_cfg);
-       offset = (offset & 15) << 27 | (offset & 0x30) << 17;
+       offset = (offset & 15) << 27 | (offset & 0x300) << 17;
 
        return offset;
 }