1
0
Fork 0
forked from len0rd/rockbox

MPIO HD200 - squash long standing bug in bootloader which prevented booting OF if doing coldstart on battery only.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28324 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcin Bukat 2010-10-22 12:11:58 +00:00
parent c8dfe0508e
commit 38edf679f2
2 changed files with 9 additions and 3 deletions

View file

@ -319,15 +319,18 @@ void main(void)
/* this is default mode after power_init() */
bool high_current_charging = true;
/* setup GPIOs related to power functions */
power_init();
system_init();
kernel_init();
/* run at 45MHz */
set_cpu_frequency(CPUFREQ_NORMAL);
coldfire_set_pllcr_audio_bits(DEFAULT_PLLCR_AUDIO_BITS);
/* IRQs are needed by button driver */
enable_irq();
lcd_init();
/* only lowlevel functions no queue init */
@ -337,8 +340,8 @@ void main(void)
/* setup font system*/
font_init();
lcd_setfont(FONT_SYSFIXED);
/* buttons reading */
/* buttons reading init*/
adc_init();
button_init();