projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OMAP3: Correct get_sdr_cs_offset mask
[platform/kernel/u-boot.git]
/
arch
/
arm
/
cpu
/
armv7
/
omap3
/
sdrc.c
diff --git
a/arch/arm/cpu/armv7/omap3/sdrc.c
b/arch/arm/cpu/armv7/omap3/sdrc.c
index
a27b4b1
..
91f42c0
100644
(file)
--- a/
arch/arm/cpu/armv7/omap3/sdrc.c
+++ b/
arch/arm/cpu/armv7/omap3/sdrc.c
@@
-102,7
+102,7
@@
u32 get_sdr_cs_offset(u32 cs)
return 0;
offset = readl(&sdrc_base->cs_cfg);
return 0;
offset = readl(&sdrc_base->cs_cfg);
- offset = (offset & 15) << 27 | (offset & 0x30) << 17;
+ offset = (offset & 15) << 27 | (offset & 0x30
0
) << 17;
return offset;
}
return offset;
}