[PATCH 44/52] sparc64/shared/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 8 19:16:35 UTC 2014


---
 c/src/lib/libbsp/sparc64/shared/startup/bspstart.c | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diff --git a/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c b/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c
index 25d4276..f6c190b 100644
--- a/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/sparc64/shared/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-1999.
  *  On-Line Applications Research Corporation (OAR).
  *
@@ -12,20 +11,12 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#include <string.h>
-
 #include <bsp.h>
+#include <bsp/bootcard.h>
 
 extern void sparc64_install_isr_entries(void);
 
-/*
- *  bsp_start
- *
- *  This routine does the bulk of the system initialization.
- */
-
 void bsp_start( void )
 {
-/*	bootstrap(); */
-	sparc64_install_isr_entries();
+  sparc64_install_isr_entries();
 }
-- 
1.9.3




More information about the devel mailing list