[rtems commit] m68k/mcf5329/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:    b587a200ee476c052339f7b64fec4da7b46f25df
Changeset: http://git.rtems.org/rtems/commit/?id=b587a200ee476c052339f7b64fec4da7b46f25df

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

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

---

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

diff --git a/c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c b/c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c
index 7d6bb2f..d5a258d 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mcf5329/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:
  *    David Fiddes, D.J at fiddes.surfaid.org
  *    http://www.calm.hw.ac.uk/davidf/coldfire/
@@ -19,13 +16,9 @@
  */
 
 #include <bsp.h>
+#include <bsp/bootcard.h>
 #include <rtems/rtems/cache.h>
 
-/*
- *  bsp_start
- *
- *  This routine does the bulk of the system initialisation.
- */
 void bsp_start(void)
 {
   /* cfinit invalidates cache and sets acr registers */



More information about the vc mailing list