aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/fsmc.c
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-03-07 16:03:03 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2011-03-07 16:03:03 -0500
commit33a10e4f938f99f71ddeb65d71fe59efef1ae8b0 (patch)
tree46d58bf3696dcb8c6b2d8081d82613176c27ebe8 /libmaple/fsmc.c
parentf044da4ff39c0e72d3dd0efb8b6b5eb26719838c (diff)
downloadlibrambutan-33a10e4f938f99f71ddeb65d71fe59efef1ae8b0.tar.gz
librambutan-33a10e4f938f99f71ddeb65d71fe59efef1ae8b0.zip
Slightly faster RAM writes (6.5MHz).
Diffstat (limited to 'libmaple/fsmc.c')
-rw-r--r--libmaple/fsmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/fsmc.c b/libmaple/fsmc.c
index 61fd06c..42e0eb1 100644
--- a/libmaple/fsmc.c
+++ b/libmaple/fsmc.c
@@ -99,7 +99,7 @@ void fsmc_native_sram_init(void) {
/* FIXME replace with macros from fsmc.h */
bank->BCR = (1 << 12) | (1 << 4) | 1;
- bank->BTR = (0xF << 16) | (0x3 << 8) | 1;
+ bank->BTR = (3 << 8);
/* (FSMC_BWTR3 not used for this simple configuration.) */
}