summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 21:14:23 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 21:14:23 -0500
commit8566e1fce584c684085355c07a59416d5949ae51 (patch)
tree7bf014438bc8decd82387989a74d113678ba2c5a
parentjffs2: Add casts and constant designators to address warnings on 16-bit targets (diff)
downloadrtems-8566e1fce584c684085355c07a59416d5949ae51.tar.bz2
lm32/milkymist/startup/bspclean.c: Include <bsp.h> to fix warning
-rw-r--r--c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c b/c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c
index 4041b77696..d4ff09b2e5 100644
--- a/c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c
+++ b/c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c
@@ -1,7 +1,8 @@
-/* bspclean.c
- *
+/*
* Milkymist shutdown routine
- *
+ */
+
+/*
* COPYRIGHT (c) 2010 Sebastien Bourdeauducq
*
* The license and distribution terms for this file may be
@@ -9,6 +10,7 @@
* http://www.rtems.org/license/LICENSE.
*/
+#include <bsp.h>
#include <bsp/bootcard.h>
#include "../include/system_conf.h"
@@ -25,6 +27,7 @@ static void icap_write(int val, unsigned int w)
w |= ICAP_CE|ICAP_WRITE;
MM_WRITE(MM_ICAP, w);
}
+
static void reconf(void)
{
icap_write(0, 0xffff); /* dummy word */