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

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

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

---

 c/src/lib/libbsp/m68k/idp/startup/bspstart.c |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
index 5c3ed75..1d8d103 100644
--- a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/idp/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).
  *
@@ -13,6 +12,7 @@
  */
 
 #include <bsp.h>
+#include <bsp/bootcard.h>
 
 unsigned char *duart_base;
 extern struct duart_regs duart_info;
@@ -21,11 +21,6 @@ extern struct duart_regs duart_info;
 
 void led_putnum(void);
 
-/*
- *  bsp_start
- *
- *  This routine does the bulk of the system initialization.
- */
 void bsp_start( void )
 {
   rtems_isr_entry       *monitors_vector_table;



More information about the vc mailing list