Sansa Connect: Disable EMIF clock after booting main binary. Raise the threshold values for battery dangerous and shutoff levels.

On this player EMIF is needed for accessing NOR flash. Disabling it improves battery runtime by about 25 minutes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31373 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomasz Moń 2011-12-20 06:21:58 +00:00
parent 74516e06e7
commit c24a36dd9d
2 changed files with 7 additions and 2 deletions

View file

@ -374,6 +374,11 @@ void system_init(void)
i2c_init();
avr_hid_init();
#ifndef BOOTLOADER
/* Disable External Memory interface (used for accessing NOR flash) */
bitclr16(&IO_CLK_MOD0, CLK_MOD0_EMIF);
#endif
#endif
}