[rtems commit] powerpc/haleakala/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:    f57aa104c5b85178667a4ed54cdcd80a8fc051f4
Changeset: http://git.rtems.org/rtems/commit/?id=f57aa104c5b85178667a4ed54cdcd80a8fc051f4

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

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

---

 .../libbsp/powerpc/haleakala/startup/bspstart.c    |   23 +++++--------------
 1 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c b/c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c
index 3dfecb6..443e454 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c
@@ -1,14 +1,8 @@
-/*  bsp_start()
- *
- *  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.
- *
- *  INPUT:  NONE
- *
- *  OUTPUT: NONE
- *
+/*
+ *  This routine does the bulk of the system initialization.
+ */
+
+/*
  *  Author:     Thomas Doerfler <td at imd.m.isar.de>
  *              IMD Ingenieurbuero fuer Microcomputertechnik
  *
@@ -62,6 +56,7 @@
 #include <rtems/counter.h>
 
 #include <bsp.h>
+#include <bsp/bootcard.h>
 #include <bsp/uart.h>
 #include <bsp/irq.h>
 #include <libcpu/powerpc-utility.h>
@@ -164,12 +159,6 @@ BSP_polling_getchar_function_type BSP_poll_char = NULL;
 
 /*===================================================================*/
 
-
-/*
- *  bsp_start
- *
- *  This routine does the bulk of the system initialization.
- */
 void bsp_start( void )
 {
   ppc_cpu_id_t myCpu;



More information about the vc mailing list