summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/daisy/board.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/board/daisy/board.c b/board/daisy/board.c
index f6803950df..551f32841f 100644
--- a/board/daisy/board.c
+++ b/board/daisy/board.c
@@ -136,28 +136,7 @@ void keyboard_suppress_noise(void)
/**
* Board-specific PMU init.
*/
-
-#define CG_CTRL0 0x04
-#define CG_CTRL3 0x07
-
int pmu_board_init(void)
{
- int failure = 0;
-
- /* Init configuration
- * Fast charge timer : 2 hours
- * Charger : disable
- * External pin control : enable
- *
- * TODO: move settings to battery pack specific init
- */
- if (!failure)
- failure = pmu_write(CG_CTRL0, 2);
- /* Limit full charge current to 50%
- * TODO: remove this temporary hack.
- */
- if (!failure)
- failure = pmu_write(CG_CTRL3, 0xbb);
-
- return failure ? EC_ERROR_UNKNOWN : EC_SUCCESS;
+ return EC_SUCCESS;
}