m68k/gen68360: Fix warnings

This commit is contained in:
Joel Sherrill
2014-10-20 10:57:44 -05:00
parent c2e32ffc7d
commit 21ee1c8dce
2 changed files with 13 additions and 3 deletions
@@ -102,6 +102,11 @@ rtems_isr_entry set_vector(
#define PGH360_PB_SPI_EEP_CE_MSK (1<< 0)
#endif /* defined(PGH360) */
/*
* Prototypes for BSP methods which cross file boundaries
*/
void _Init68360(void);
#ifdef __cplusplus
}
#endif
@@ -1,6 +1,8 @@
/*
* MC68360 support routines
*
*/
/*
* W. Eric Norum
* Saskatchewan Accelerator Laboratory
* University of Saskatchewan
@@ -8,7 +10,6 @@
* eric@skatter.usask.ca
*/
#include <rtems.h>
#include <bsp.h>
#include <rtems/m68k/m68360.h>
@@ -45,11 +46,12 @@ void _Init68360 (void)
int i;
rtems_isr_entry *vbr;
unsigned long ramSize;
#if (defined (__mc68040__))
volatile unsigned long *RamBase_p;
RamBase_p = (volatile unsigned long *)&RamBase;
#if (defined (__mc68040__))
/*
*******************************************
* Motorola 68040 and companion-mode 68360 *
@@ -645,6 +647,9 @@ void _Init68360 (void)
m360.mcr = 0x4C7F;
#else
volatile unsigned long *RamBase_p;
RamBase_p = (volatile unsigned long *)&RamBase;
/*
***************************************************
* Generic Standalone Motorola 68360 *