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

This commit is contained in:
Joel Sherrill
2014-10-07 17:23:48 -05:00
parent bb9448bc82
commit 31ca050714

View File

@@ -1,11 +1,8 @@
/* /*
* BSP startup * This routine does the bulk of the system initialisation.
* */
* 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.
*
* Author: * Author:
* David Fiddes, D.J@fiddes.surfaid.org * David Fiddes, D.J@fiddes.surfaid.org
* http://www.calm.hw.ac.uk/davidf/coldfire/ * http://www.calm.hw.ac.uk/davidf/coldfire/
@@ -19,6 +16,7 @@
*/ */
#include <bsp.h> #include <bsp.h>
#include <bsp/bootcard.h>
/* /*
* Cannot be frozen * Cannot be frozen
@@ -44,11 +42,6 @@ void _CPU_cache_disable_data(void) {}
void _CPU_cache_invalidate_entire_data(void) {} void _CPU_cache_invalidate_entire_data(void) {}
void _CPU_cache_invalidate_1_data_line(const void *addr) {} 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) void __attribute__((weak)) bsp_start(void)
{ {
} }