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

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

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

---

 .../lib/libbsp/powerpc/mvme5500/startup/bspstart.c |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c
index 1db27a6..18ad2b8 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mvme5500/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-2007.
  *  On-Line Applications Research Corporation (OAR).
  *
@@ -31,6 +30,7 @@
 
 #include <libcpu/spr.h>   /* registers.h is included here */
 #include <bsp.h>
+#include <bsp/bootcard.h>
 #include <bsp/uart.h>
 #include <bsp/pci.h>
 #include <libcpu/bat.h>
@@ -180,12 +180,6 @@ save_boot_params(
   return cmdline_buf;
 }
 
-/*
- *  bsp_start
- *
- *  This routine does the bulk of the system initialization.
- */
-
 void bsp_start( void )
 {
 #ifdef CONF_VPD



More information about the vc mailing list