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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index f42387d024..d6b042d539 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -241,7 +241,13 @@ void system_init(void)
241 /* enable VIC */ 241 /* enable VIC */
242 CGU_PERI |= CGU_VIC_CLOCK_ENABLE; 242 CGU_PERI |= CGU_VIC_CLOCK_ENABLE;
243 VIC_INT_SELECT = 0; /* only IRQ, no FIQ */ 243 VIC_INT_SELECT = 0; /* only IRQ, no FIQ */
244#endif 244
245#else
246 /* disable fast hardware power-off, to use power button normally */
247 ascodec_init();
248 ascodec_write(AS3514_CVDD_DCDC3, ascodec_read(AS3514_CVDD_DCDC3) & (1<<2));
249
250#endif /* BOOTLOADER */
245} 251}
246 252
247void system_reboot(void) 253void system_reboot(void)