aboutsummaryrefslogtreecommitdiff
path: root/board/ti/sdp4430/sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/sdp4430/sdp.c')
-rw-r--r--board/ti/sdp4430/sdp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c
index 01d5ce4f4..b13c4c5c1 100644
--- a/board/ti/sdp4430/sdp.c
+++ b/board/ti/sdp4430/sdp.c
@@ -23,6 +23,7 @@
* MA 02111-1307 USA
*/
#include <common.h>
+#include <twl6030.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch/mmc_host_def.h>
@@ -63,6 +64,9 @@ int board_eth_init(bd_t *bis)
*/
int misc_init_r(void)
{
+#ifdef CONFIG_TWL6030_POWER
+ twl6030_init_battery_charging();
+#endif
return 0;
}