diff options
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 8 |
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) /* enable VIC */ CGU_PERI |= CGU_VIC_CLOCK_ENABLE; VIC_INT_SELECT = 0; /* only IRQ, no FIQ */ -#endif + +#else + /* disable fast hardware power-off, to use power button normally */ + ascodec_init(); + ascodec_write(AS3514_CVDD_DCDC3, ascodec_read(AS3514_CVDD_DCDC3) & (1<<2)); + +#endif /* BOOTLOADER */ } void system_reboot(void) |