diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index 7e9ff31d23..f0493d51d7 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -268,9 +268,12 @@ void system_init(void) CCU_SRL = CCU_SRL_MAGIC_NUMBER; CCU_SRC = CCU_SRL = 0; +#ifdef BOOTLOADER /* FIXME */ CGU_PERI &= ~0x7f; /* pclk 24 MHz */ CGU_PERI |= ((CLK_DIV(AS3525_PLLA_FREQ, AS3525_PCLK_FREQ) - 1) << 2) | 1; /* clk_in = PLLA */ +#endif + #else unsigned int reset_loops = 640;