summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-07 17:30:18 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:56 -0500
commit3c688ade174c70c6f676e86e3fa186d29cdbf8e6 (patch)
treea5b55b70a8b1ffd608736e516c84da44ede56d34
parentm68k/mvme136/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warni... (diff)
downloadrtems-3c688ade174c70c6f676e86e3fa186d29cdbf8e6.tar.bz2
m68k/mvme147/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
index 118829112f..cb5f84a075 100644
--- a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
@@ -1,9 +1,8 @@
/*
- * This routine starts the application. It includes application,
- * board, and monitor specific initialization and configuration.
- * The generic CPU dependent initialization has been performed
- * before this routine is invoked.
- *
+ * This routine does the bulk of the system initialization.
+ */
+
+/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
@@ -17,12 +16,7 @@
*/
#include <bsp.h>
-
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialization.
- */
+#include <bsp/bootcard.h>
void bsp_start( void )
{
@@ -44,8 +38,7 @@ void bsp_start( void )
pcc->int_base_vector = PCC_BASE_VECTOR; /* Set the PCC int vectors base */
- (*(uint8_t*)0xfffe2001) = 0x08;
- /* make VME access round-robin */
+ (*(uint8_t*)0xfffe2001) = 0x08; /* make VME access round-robin */
rtems_cache_enable_instruction();
rtems_cache_enable_data();