summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-07 17:23:48 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:56 -0500
commit31ca0507144391bc778809fc72d24bb2acb3a2be (patch)
tree182477c3310726c8f6c38707f4b92f1526486bb9
parentm68k/idp/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning a... (diff)
downloadrtems-31ca0507144391bc778809fc72d24bb2acb3a2be.tar.bz2
m68k/mcf5225x/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/startup/bspstart.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/startup/bspstart.c b/c/src/lib/libbsp/m68k/mcf5225x/startup/bspstart.c
index a3736369b2..af472029db 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mcf5225x/startup/bspstart.c
@@ -1,11 +1,8 @@
/*
- * BSP startup
- *
- * 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 initialisation.
+ */
+
+/*
* Author:
* David Fiddes, D.J@fiddes.surfaid.org
* http://www.calm.hw.ac.uk/davidf/coldfire/
@@ -19,6 +16,7 @@
*/
#include <bsp.h>
+#include <bsp/bootcard.h>
/*
* Cannot be frozen
@@ -44,11 +42,6 @@ void _CPU_cache_disable_data(void) {}
void _CPU_cache_invalidate_entire_data(void) {}
void _CPU_cache_invalidate_1_data_line(const void *addr) {}
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialisation.
- */
void __attribute__((weak)) bsp_start(void)
{
}