aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/flash.c')
-rw-r--r--libmaple/flash.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/libmaple/flash.c b/libmaple/flash.c
index d0e23d0..0ade4cb 100644
--- a/libmaple/flash.c
+++ b/libmaple/flash.c
@@ -25,20 +25,12 @@
*****************************************************************************/
/**
- * @file flash.c
+ * @file libmaple/flash.c
* @brief Flash management functions
*/
-#include <libmaple/libmaple.h>
+#include <libmaple/libmaple_types.h>
#include <libmaple/flash.h>
-#include <libmaple/bitband.h>
-
-/**
- * @brief Turn on the hardware prefetcher.
- */
-void flash_enable_prefetch(void) {
- *bb_perip(&FLASH_BASE->ACR, FLASH_ACR_PRFTBE_BIT) = 1;
-}
/**
* @brief Set flash wait states