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
ARMV7: OMAP3: Fix bug in get_sdr_cs_offset()
[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
2719bb5
..
6c419f5
100644
(file)
--- a/
arch/arm/cpu/armv7/omap3/sdrc.c
+++ b/
arch/arm/cpu/armv7/omap3/sdrc.c
@@
-99,7
+99,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 & 0x30)
<<
17;
return offset;
}