summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/system-as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index d79caadf1b..ba8aa43715 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -114,6 +114,7 @@ struct vec_int_src vec_int_srcs[] =
114 { INT_SRC_NAND, INT_NAND }, 114 { INT_SRC_NAND, INT_NAND },
115 { INT_SRC_I2C_AUDIO, INT_I2C_AUDIO }, 115 { INT_SRC_I2C_AUDIO, INT_I2C_AUDIO },
116 { INT_SRC_AUDIO, INT_AUDIO }, 116 { INT_SRC_AUDIO, INT_AUDIO },
117 { INT_SRC_USB, INT_USB, },
117#if (defined HAVE_MULTIDRIVE && CONFIG_CPU == AS3525) 118#if (defined HAVE_MULTIDRIVE && CONFIG_CPU == AS3525)
118 { INT_SRC_MCI0, INT_MCI0 }, 119 { INT_SRC_MCI0, INT_MCI0 },
119#endif 120#endif
@@ -324,7 +325,7 @@ void system_init(void)
324 CGU_PLLASUP = 0; /* enable PLLA */ 325 CGU_PLLASUP = 0; /* enable PLLA */
325 while(!(CGU_INTCTRL & (1<<0))); /* wait until PLLA is locked */ 326 while(!(CGU_INTCTRL & (1<<0))); /* wait until PLLA is locked */
326 327
327#if (AS3525_MCLK_SEL == AS3525_CLK_PLLB) 328#if defined(USE_ROCKBOX_USB) || (AS3525_MCLK_SEL == AS3525_CLK_PLLB)
328 CGU_COUNTB = 0xff; 329 CGU_COUNTB = 0xff;
329 CGU_PLLB = AS3525_PLLB_SETTING; 330 CGU_PLLB = AS3525_PLLB_SETTING;
330 CGU_PLLBSUP = 0; /* enable PLLB */ 331 CGU_PLLBSUP = 0; /* enable PLLB */
@@ -392,6 +393,9 @@ void system_reboot(void)
392 393
393void system_exception_wait(void) 394void system_exception_wait(void)
394{ 395{
396 /* make sure backlight is on */
397 _backlight_on();
398 _backlight_pwm(1);
395 /* wait until button release (if a button is pressed) */ 399 /* wait until button release (if a button is pressed) */
396 while(button_read_device()); 400 while(button_read_device());
397 /* then wait until next button press */ 401 /* then wait until next button press */