aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/rcc.c
diff options
context:
space:
mode:
authorPerry Hung <iperry@alum.mit.edu>2010-08-04 04:17:16 -0400
committerPerry Hung <iperry@alum.mit.edu>2010-08-04 04:17:16 -0400
commit2bb8c3fbe39ad12bc4669d499228961ad25e0ace (patch)
tree8037e64219d4a7b875c70baf2d5e0697c194cf5f /libmaple/rcc.c
parentd0e353ca9f3a0986c54beab3948117bdaade700e (diff)
downloadlibrambutan-2bb8c3fbe39ad12bc4669d499228961ad25e0ace.tar.gz
librambutan-2bb8c3fbe39ad12bc4669d499228961ad25e0ace.zip
Basic flash peripheral management api for board bringup
Diffstat (limited to 'libmaple/rcc.c')
-rw-r--r--libmaple/rcc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libmaple/rcc.c b/libmaple/rcc.c
index 079c4d6..bb423b9 100644
--- a/libmaple/rcc.c
+++ b/libmaple/rcc.c
@@ -116,14 +116,6 @@ static void hse_init(void) {
void rcc_init(void) {
hse_init();
-
- /* Leave this here for now... */
- /* Enable Prefetch Buffer */
- flash_enable_prefetch();
-
- /* Flash 2 wait state */
- flash_set_latency();
-
set_ahb_prescaler(SYSCLK_DIV_1);
set_apb1_prescaler(HCLK_DIV_2);
set_apb2_prescaler(HCLK_DIV_1);