aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-01 09:34:55 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-01 09:35:11 -0400
commit5338a153bfcd46e71f7b5d13c30f4ca482d5ee87 (patch)
tree985e02377a2bcc5b07dd0dca3448ae2b66da29ad
parent11246451b7b96e01e7d421a8f78fe1f580d6f9de (diff)
downloadlibrambutan-5338a153bfcd46e71f7b5d13c30f4ca482d5ee87.tar.gz
librambutan-5338a153bfcd46e71f7b5d13c30f4ca482d5ee87.zip
maple_native.cpp: Add FSMC FIXME to resolve for 0.0.12.
-rw-r--r--wirish/boards/maple_native.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wirish/boards/maple_native.cpp b/wirish/boards/maple_native.cpp
index 596a262..b263622 100644
--- a/wirish/boards/maple_native.cpp
+++ b/wirish/boards/maple_native.cpp
@@ -191,6 +191,7 @@ static void initSRAMChip(void) {
fsmc_sram_init_gpios();
rcc_clk_enable(RCC_FSMC);
+ // FIXME [0.0.12] doesn't this need FSMC_BCR_MTYP_SRAM?
regs->BCR = FSMC_BCR_WREN | FSMC_BCR_MWID_16BITS | FSMC_BCR_MBKEN;
fsmc_nor_psram_set_addset(regs, 0);
fsmc_nor_psram_set_datast(regs, 3);