From 8074c0b1d0f67f393ce4a1e92eec194c9ed9700b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Sep 2008 15:49:36 +0000 Subject: 2008-09-19 Joel Sherrill * Makefile.am: Split out bspstart contents. Move cache code to libcpu. * startup/bspgetcpuclockspeed.c: New file. * startup/bspstart.c: Removed. --- c/src/lib/libbsp/m68k/mcf52235/startup/bspstart.c | 61 ----------------------- 1 file changed, 61 deletions(-) delete mode 100644 c/src/lib/libbsp/m68k/mcf52235/startup/bspstart.c (limited to 'c/src/lib/libbsp/m68k/mcf52235/startup/bspstart.c') diff --git a/c/src/lib/libbsp/m68k/mcf52235/startup/bspstart.c b/c/src/lib/libbsp/m68k/mcf52235/startup/bspstart.c deleted file mode 100644 index 6e2e7f5a19..0000000000 --- a/c/src/lib/libbsp/m68k/mcf52235/startup/bspstart.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * 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 - -/* - * 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 60000000; -} -- cgit v1.2.3