diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-01-27 21:01:59 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:54 -0400 |
commit | b5a8e0386d5134839bf23e82110d2f1926201202 (patch) | |
tree | 50b4a7a328bbc848d877ac9c6f77166403afe586 /wirish/boards/olimex_stm32_h103 | |
parent | 511a553334f36112bc2fd85f7c991840df727b60 (diff) | |
download | librambutan-b5a8e0386d5134839bf23e82110d2f1926201202.tar.gz librambutan-b5a8e0386d5134839bf23e82110d2f1926201202.zip |
Clean up Flash interface; add flash_enable_features().
Make a single function, flash_enable_features(), to control the access
characteristics of Flash memory (i.e. to write to the non-latency bits
of ACR).
In so doing, make everybody pretend to allow instruction and data
caching. On STM32F1, trying to turn these on simply has no
effect. This allows unconditionally trying to turn them on, which will
simplify users' lives.
This has the ancillary benefit of making the stm32f2- and
stm32f1-specific flash.c files unnecessary; delete these.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/boards/olimex_stm32_h103')
0 files changed, 0 insertions, 0 deletions