aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
diff options
context:
space:
mode:
Diffstat (limited to 'wirish')
-rw-r--r--wirish/boards/maple_native.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/wirish/boards/maple_native.cpp b/wirish/boards/maple_native.cpp
index 5e0cad3..821be77 100644
--- a/wirish/boards/maple_native.cpp
+++ b/wirish/boards/maple_native.cpp
@@ -192,8 +192,8 @@ 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;
+ regs->BCR = (FSMC_BCR_WREN | FSMC_BCR_MWID_16BITS | FSMC_BCR_MTYP_SRAM |
+ FSMC_BCR_MBKEN);
fsmc_nor_psram_set_addset(regs, 0);
fsmc_nor_psram_set_datast(regs, 3);
}