[rtems commit] bfin/eZKit533/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:    2a6fd65e56b08339a7e4e4c62a7fe6600c48ea23
Changeset: http://git.rtems.org/rtems/commit/?id=2a6fd65e56b08339a7e4e4c62a7fe6600c48ea23

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

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

---

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

diff --git a/c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c b/c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c
index 63c2d66..503fb6e 100644
--- a/c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c
+++ b/c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c
@@ -1,10 +1,9 @@
 /*  bspstart.c for eZKit533
  *
- *  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.
+ */
+
+/*
  *  Copyright (c) 2006 by Atos Automacao Industrial Ltda.
  *             written by Alain Schaefer <alain.schaefer at easc.ch>
  *                    and Antonio Giovanini <antonio at atos.com.br>
@@ -14,8 +13,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-
 #include <bsp.h>
+#include <bsp/bootcard.h>
 #include <cplb.h>
 #include <libcpu/interrupt.h>
 
@@ -80,12 +79,6 @@ void bsp_pretasking_hook(void)
   bfin_interrupt_init();
 }
 
-/*
- *  bsp_start
- *
- *  This routine does the bulk of the system initialization.
- */
-
 void bsp_start( void )
 {
   /* BSP Hardware Initialization*/



More information about the vc mailing list