[rtems commit] m68k/uC5282/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:38 UTC 2014


Module:    rtems
Branch:    master
Commit:    253f5ec389e14ce97a09aafae4c7eab9acc8d737
Changeset: http://git.rtems.org/rtems/commit/?id=253f5ec389e14ce97a09aafae4c7eab9acc8d737

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Oct  7 17:31:19 2014 -0500

m68k/uC5282/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up

---

 c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c |   17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c b/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c
index 15c9277..8623056 100644
--- a/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c
@@ -1,11 +1,8 @@
 /*
- *  BSP startup
- *
- *  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 initialisation.
+ */
+
+/*
  *  Author: W. Eric Norum <norume at aps.anl.gov>
  *
  *  COPYRIGHT (c) 2005.
@@ -17,6 +14,7 @@
  */
 
 #include <bsp.h>
+#include <bsp/bootcard.h>
 #include <rtems/error.h>
 #include <errno.h>
 #include <stdio.h>
@@ -232,11 +230,6 @@ static void handler(int pc)
     rtems_panic("done");
 }
 
-/*
- *  bsp_start
- *
- *  This routine does the bulk of the system initialisation.
- */
 void bsp_start( void )
 {
   int   i;



More information about the vc mailing list