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:
711f5cb
)
s5pc110: aquila: battery: reset correctly
CES1223_2
author
Minkyu Kang
<mk7.kang@samsung.com>
Wed, 23 Dec 2009 05:56:37 +0000
(14:56 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Wed, 23 Dec 2009 05:56:37 +0000
(14:56 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal/universal.c
patch
|
blob
|
history
diff --git
a/board/samsung/universal/universal.c
b/board/samsung/universal/universal.c
index
867c01a
..
bb4ac81
100644
(file)
--- a/
board/samsung/universal/universal.c
+++ b/
board/samsung/universal/universal.c
@@
-892,8
+892,8
@@
static void enable_battery(void)
return;
}
- val[0] = 0x
00
;
- val[1] = 0x
54
;
+ val[0] = 0x
54
;
+ val[1] = 0x
00
;
i2c_write(addr, 0xfe, 1, val, 2);
}
@@
-1764,15
+1764,15
@@
int misc_init_r(void)
/* check max8998 */
init_pmic();
- /* check max17040 */
- check_battery();
-
#ifdef CONFIG_S5PC1XXFB
display_device_info();
#endif
setup_power_down_mode_registers();
+ /* check max17040 */
+ check_battery();
+
/* check fsa9480 */
check_micro_usb(0);