git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6e1c1
)
enable battery backup capacitor
author
Grazvydas Ignotas
<notasas@gmail.com>
Thu, 29 Apr 2010 11:58:24 +0000
(14:58 +0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Thu, 29 Apr 2010 11:58:24 +0000
(14:58 +0300)
board/pandora/pandora.c
patch
|
blob
|
history
diff --git
a/board/pandora/pandora.c
b/board/pandora/pandora.c
index
75e4330
..
3d97121
100644
(file)
--- a/
board/pandora/pandora.c
+++ b/
board/pandora/pandora.c
@@
-78,6
+78,10
@@
int misc_init_r(void)
writel(GPIO28, &gpio5_base->setdataout);
writel(GPIO4, &gpio6_base->setdataout);
+ /* Enable battery backup capacitor (3.2V, 0.5mA charge current) */
+ twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, 0x1e,
+ TWL4030_PM_RECEIVER_BB_CFG);
+
dieid_num_r();
return 0;