[rtems commit] m68k/mvme147/startup/bspstart.c: Add include of <bsp/ bootcard.h> to fix warning and clean up
Joel Sherrill
joel at rtems.org
Thu Oct 9 15:03:37 UTC 2014
Module: rtems
Branch: master
Commit: 3c688ade174c70c6f676e86e3fa186d29cdbf8e6
Changeset: http://git.rtems.org/rtems/commit/?id=3c688ade174c70c6f676e86e3fa186d29cdbf8e6
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Oct 7 17:30:18 2014 -0500
m68k/mvme147/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up
---
c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c | 19 ++++++-------------
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 1188291..cb5f84a 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();
More information about the vc
mailing list