lm32/milkymist/startup/bspclean.c: Include <bsp.h> to fix warning

This commit is contained in:
Joel Sherrill
2014-10-19 21:14:23 -05:00
parent b83fe77cbc
commit 8566e1fce5

View File

@@ -1,7 +1,8 @@
/* bspclean.c /*
*
* Milkymist shutdown routine * Milkymist shutdown routine
* */
/*
* COPYRIGHT (c) 2010 Sebastien Bourdeauducq * COPYRIGHT (c) 2010 Sebastien Bourdeauducq
* *
* The license and distribution terms for this file may be * The license and distribution terms for this file may be
@@ -9,6 +10,7 @@
* http://www.rtems.org/license/LICENSE. * http://www.rtems.org/license/LICENSE.
*/ */
#include <bsp.h>
#include <bsp/bootcard.h> #include <bsp/bootcard.h>
#include "../include/system_conf.h" #include "../include/system_conf.h"
@@ -25,6 +27,7 @@ static void icap_write(int val, unsigned int w)
w |= ICAP_CE|ICAP_WRITE; w |= ICAP_CE|ICAP_WRITE;
MM_WRITE(MM_ICAP, w); MM_WRITE(MM_ICAP, w);
} }
static void reconf(void) static void reconf(void)
{ {
icap_write(0, 0xffff); /* dummy word */ icap_write(0, 0xffff); /* dummy word */