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

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

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

---

 c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c b/c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c
index 92b466c..0a5a765 100644
--- a/c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/ep1a/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).
  *
@@ -15,6 +14,7 @@
 #warning The interrupt disable mask is now stored in SPRG0, please verify that this is compatible to this BSP (see also bootcard.c).
 
 #include <bsp/consoleIo.h>
+#include <bsp/bootcard.h>
 #include <libcpu/spr.h>
 #include <bsp/residual.h>
 #include <bsp/pci.h>



More information about the vc mailing list