aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-08-31 15:00:54 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-08-31 15:00:54 -0400
commiteb30073f88b6d5dd56eaca4a7c78c59be4e843f8 (patch)
tree5b759baf691f26e0679b27e0e7cc366f0e429bd2
parent61450814639a119f4bf009431769e500354606b3 (diff)
downloadlibrambutan-eb30073f88b6d5dd56eaca4a7c78c59be4e843f8.tar.gz
librambutan-eb30073f88b6d5dd56eaca4a7c78c59be4e843f8.zip
maple_native.cpp: mark initSRAMChip() static.
-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 a6cff22..9faa5ad 100644
--- a/wirish/boards/maple_native.cpp
+++ b/wirish/boards/maple_native.cpp
@@ -41,7 +41,7 @@
#ifdef BOARD_maple_native
-void initSRAMChip(void);
+static void initSRAMChip(void);
void boardInit(void) {
initSRAMChip();
@@ -185,7 +185,7 @@ extern const uint8 boardUsedPins[BOARD_NR_USED_PINS] __FLASH__ = {
BOARD_JTCK_SWCLK_PIN, BOARD_JTDI_PIN, BOARD_JTDO_PIN, BOARD_NJTRST_PIN
};
-void initSRAMChip(void) {
+static void initSRAMChip(void) {
fsmc_nor_psram_reg_map *regs = FSMC_NOR_PSRAM1_BASE;
fsmc_sram_init_gpios();