aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/internal.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-10-24 11:35:18 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-10-24 11:35:18 -0400
commit9a11286327b877971367676616347ba767e96ba1 (patch)
tree9011b0d9768e60b7f90e1504f780b18182ee9742 /src/stm32/internal.h
parentfaeaa54925e0a6fa197c48faf6317a86824f64d7 (diff)
downloadkutter-9a11286327b877971367676616347ba767e96ba1.tar.gz
kutter-9a11286327b877971367676616347ba767e96ba1.tar.xz
kutter-9a11286327b877971367676616347ba767e96ba1.zip
stm32: Implement armcm_main() in arch specific code
Move armcm_main() to stm32f0.c, stm32f1.c, and stm32f4.c. This gives the arch specific code more control on the early boot setup. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/internal.h')
-rw-r--r--src/stm32/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stm32/internal.h b/src/stm32/internal.h
index f9f545df..abe879c1 100644
--- a/src/stm32/internal.h
+++ b/src/stm32/internal.h
@@ -27,7 +27,6 @@ extern GPIO_TypeDef * const digital_regs[];
void enable_pclock(uint32_t periph_base);
int is_enabled_pclock(uint32_t periph_base);
uint32_t get_pclock_frequency(uint32_t periph_base);
-void clock_setup(void);
void gpio_clock_enable(GPIO_TypeDef *regs);
void gpio_peripheral(uint32_t gpio, uint32_t mode, int pullup);