aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-05-08 16:24:16 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-05-08 16:24:16 -0400
commit99ca63216d9dd4985e0892dad6b3ddfe216c6b8c (patch)
tree3a473c2ef311e31cd072bd8396bc0dd9981294cb
parent173c7e1a7a7ce6a36801a96a235ae74d3ce062ed (diff)
downloadlibrambutan-99ca63216d9dd4985e0892dad6b3ddfe216c6b8c.tar.gz
librambutan-99ca63216d9dd4985e0892dad6b3ddfe216c6b8c.zip
libmaple/flash.h: Deprecate flash_enable_prefetch().
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--libmaple/include/libmaple/flash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmaple/include/libmaple/flash.h b/libmaple/include/libmaple/flash.h
index d3810a7..4ecfb77 100644
--- a/libmaple/include/libmaple/flash.h
+++ b/libmaple/include/libmaple/flash.h
@@ -77,6 +77,9 @@ static inline void flash_enable_features(uint32 feature_flags) {
FLASH_BASE->ACR |= feature_flags;
}
+/**
+ * @brief Deprecated. Use flash_enable_features(FLASH_PREFETCH) instead.
+ */
static inline void flash_enable_prefetch(void) {
flash_enable_features(FLASH_PREFETCH);
}