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

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 8 19:16:15 UTC 2014


---
 c/src/lib/libbsp/m68k/idp/startup/bspstart.c | 15 +++++----------
 1 file 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;
-- 
1.9.3




More information about the devel mailing list