summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-20 14:58:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-20 14:58:34 +0000
commit6b56ec3327a541aa711116d8bb37e22ede976dd6 (patch)
tree4a2655f3db869a052e17923f76ee3207c7b7f7d6 /c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c
parent2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au> (diff)
downloadrtems-6b56ec3327a541aa711116d8bb37e22ede976dd6.tar.bz2
2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac, gdb-init, preinstall.am, clock/clock.c, console/console.c, include/bsp.h, include/bspopts.h.in, include/coverhd.h, include/tm27.h, network/network.c, start/start.S, startup/bspclean.c, startup/bspstart.c, startup/cfinit.c, startup/init5329.c, startup/linkcmds, startup/linkcmdsflash, timer/timer.c: New files.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c97
1 files changed, 97 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c b/c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c
new file mode 100644
index 0000000000..46c839ab2b
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mcf5329/startup/bspstart.c
@@ -0,0 +1,97 @@
+
+/*
+ * 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.
+ *
+ * Author:
+ * David Fiddes, D.J@fiddes.surfaid.org
+ * http://www.calm.hw.ac.uk/davidf/coldfire/
+ *
+ * COPYRIGHT (c) 1989-1998.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <bsp.h>
+#include <rtems/libio.h>
+#include <rtems/libcsupport.h>
+
+/*
+ * Cannot be frozen
+ */
+void _CPU_cache_freeze_data(void)
+{
+}
+void _CPU_cache_unfreeze_data(void)
+{
+}
+void _CPU_cache_freeze_instruction(void)
+{
+}
+void _CPU_cache_unfreeze_instruction(void)
+{
+}
+
+/*
+ * Write-through data cache -- flushes are unnecessary
+ */
+void _CPU_cache_flush_1_data_line(const void *d_addr)
+{
+}
+void _CPU_cache_flush_entire_data(void)
+{
+}
+
+void _CPU_cache_enable_instruction(void)
+{
+}
+void _CPU_cache_disable_instruction(void)
+{
+}
+void _CPU_cache_invalidate_entire_instruction(void)
+{
+}
+void _CPU_cache_invalidate_1_instruction_line(const void *addr)
+{
+}
+
+void _CPU_cache_enable_data(void)
+{
+}
+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 bsp_start(void)
+{
+}
+
+uint32_t bsp_get_CPU_clock_speed(void)
+{
+ return 240000000;
+}
+
+uint32_t bsp_get_BUS_clock_speed(void)
+{
+ return 80000000;
+}