summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-07 17:32:17 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:56 -0500
commitf57aa104c5b85178667a4ed54cdcd80a8fc051f4 (patch)
tree065eccaa9dc32c118c4e4a945db9e1cb9bbb8f06
parentpowerpc/ep1a/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warni... (diff)
downloadrtems-f57aa104c5b85178667a4ed54cdcd80a8fc051f4.tar.bz2
powerpc/haleakala/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c23
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 3dfecb6826..443e45476c 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@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;