diff options
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index e3e41998ce..2b3e163611 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -465,9 +465,6 @@ void set_cpu_frequency(long frequency) CGU_PROC = ((AS3525_FCLK_POSTDIV << 4) | (AS3525_FCLK_PREDIV << 2) | AS3525_FCLK_SEL); - - delay = 40; while(delay--) asm("nop"); - } else { @@ -477,8 +474,6 @@ void set_cpu_frequency(long frequency) (AS3525_FCLK_PREDIV << 2) | AS3525_FCLK_SEL); - delay = 40; while(delay--) asm("nop"); - /* Change PCLK after FCLK is low, so it doesn't go too high */ CGU_PERI = (CGU_PERI & ~(0xF << 2)) | (AS3525_PCLK_DIV0_UNBOOSTED << 2); delay = 40; while(delay--) asm("nop"); |