From 1d1e8e4eb723f34e50aaf3ffcff348367817bc52 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 18 Sep 2011 15:33:19 +0000 Subject: Sansa AMSv2: initialise PMU (power management unit), inspired by how the OF does it Differences in PMU settings: - explicitly disable the PLL inside the PMU (we don't use it) - don't increase the PVDD1/AVDD17 voltages because the impact on runtime is still unclear git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30571 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/powermgmt-ascodec.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'firmware/target/arm/powermgmt-ascodec.c') diff --git a/firmware/target/arm/powermgmt-ascodec.c b/firmware/target/arm/powermgmt-ascodec.c index c8bd1cd51f..bab40e113a 100644 --- a/firmware/target/arm/powermgmt-ascodec.c +++ b/firmware/target/arm/powermgmt-ascodec.c @@ -126,9 +126,6 @@ static void enable_charger(void) void powermgmt_init_target(void) { /* Everything CHARGER, OFF! */ -#if CONFIG_CPU == AS3525v2 - ascodec_write_pmu(AS3543_CHARGER, 2, 0x01); //EOC current theshold 30% -#endif ascodec_monitor_endofch(); ascodec_write_charger(TMPSUP_OFF | CHG_I_50MA | CHG_V_3_90V | CHG_OFF); } -- cgit v1.2.3