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

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

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

---

 .../libbsp/powerpc/mpc8260ads/startup/bspstart.c   |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
index 3d84156..559816c 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
@@ -1,10 +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.
- *
+/*
+ *  This routine does the bulk of the system initialization.
+ */
+
+/*
  *  The MPC860 specific stuff was written by Jay Monkman (jmonkman at frasca.com)
  *
  *  Modified for the MPC8260ADS board by Andy Dachs <a.dachs at sstl.co.uk>
@@ -24,7 +22,6 @@
  *  conditions.
  *  The mmu is unused at this time.
  *
- *
  *  COPYRIGHT (c) 1989-2007.
  *  On-Line Applications Research Corporation (OAR).
  *
@@ -34,6 +31,7 @@
  */
 
 #include <bsp.h>
+#include <bsp/bootcard.h>
 
 /*
 #include <mmu.h>



More information about the vc mailing list