summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval/src/up_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3220g-eval/src/up_boot.c')
-rw-r--r--nuttx/configs/stm3220g-eval/src/up_boot.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/stm3220g-eval/src/up_boot.c b/nuttx/configs/stm3220g-eval/src/up_boot.c
index 4062baa56..20303ceaf 100644
--- a/nuttx/configs/stm3220g-eval/src/up_boot.c
+++ b/nuttx/configs/stm3220g-eval/src/up_boot.c
@@ -2,7 +2,7 @@
* configs/stm3220g-eval/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
- * Copyright (C) 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -82,6 +82,12 @@ void stm32_boardinitialize(void)
}
#endif
+ /* If the FSMC is enabled, then enable SRAM access */
+
+#ifdef CONFIG_STM32_FSMC
+ stm32_selectsram();
+#endif
+
/* Configure on-board LEDs if LED support has been selected. */
#ifdef CONFIG_ARCH_LEDS