summaryrefslogtreecommitdiff
path: root/cpu/at32ap/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/at32ap/cpu.c')
-rw-r--r--cpu/at32ap/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/at32ap/cpu.c b/cpu/at32ap/cpu.c
index 0ba836180..1a1370289 100644
--- a/cpu/at32ap/cpu.c
+++ b/cpu/at32ap/cpu.c
@@ -65,6 +65,9 @@ int cpu_init(void)
sysreg_write(EVBA, (unsigned long)&_evba);
asm volatile("csrf %0" : : "i"(SYSREG_EM_OFFSET));
+ if(gclk_init)
+ gclk_init();
+
return 0;
}