2009-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>

* startup/init5206e.c: Make prototype of CopyDataClearBSSAndStart
	global.
This commit is contained in:
Ralf Corsepius
2009-12-08 17:34:56 +00:00
parent 43e74a476d
commit 0160b3b9d2
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2009-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/init5206e.c: Make prototype of CopyDataClearBSSAndStart
global.
2009-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/i2c.h (i2c_transfer_done): Fix type mismatch.

View File

@@ -32,6 +32,8 @@
#include <bsp.h>
#include "mcf5206/mcf5206e.h"
extern void CopyDataClearBSSAndStart(unsigned long ramsize);
#define m68k_set_cacr( _cacr ) \
asm volatile ( "movec %0,%%cacr\n\t" \
"nop\n" \
@@ -80,7 +82,6 @@
void
Init5206e(void)
{
extern void CopyDataClearBSSAndStart(unsigned long ramsize);
/* Set Module Base Address register */
m68k_set_mbar((MBAR & MCF5206E_MBAR_BA) | MCF5206E_MBAR_V);