projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c79f9c
)
s5pc11x: "mirror setting" for board revision check had incorrect bit operations.
author
MyungJoo Ham
<MyungJoo.Ham@samsung.com>
Thu, 25 Feb 2010 10:15:20 +0000
(19:15 +0900)
committer
MyungJoo Ham
<MyungJoo.Ham@samsung.com>
Thu, 25 Feb 2010 10:15:20 +0000
(19:15 +0900)
board/samsung/universal/universal.c
patch
|
blob
|
history
diff --git
a/board/samsung/universal/universal.c
b/board/samsung/universal/universal.c
index
be506f1
..
43f5a8b
100644
(file)
--- a/
board/samsung/universal/universal.c
+++ b/
board/samsung/universal/universal.c
@@
-1696,9
+1696,9
@@
static void setup_power_down_mode_registers(void)
for (i = 0; i < n_mr; i++) {
unsigned int reg = readl(&mr->bank->pdn_con);
- reg &= ~(
1 << mr->number
);
+ reg &= ~(
0x3 << (mr->number << 1)
);
if (readl(&mr->bank->dat) & (1 << mr->number))
- reg |=
1 << mr->number
;
+ reg |=
0x1 << (mr->number << 1)
;
writel(reg, &mr->bank->pdn_con);
mr++;
}