From b850e7fb76d224f576de6aff2dfa65d5912e9f3f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 8 Dec 2017 13:23:41 +0100 Subject: bsp/gensh1: Move libcpu files to BSP Update #3254. --- c/src/lib/libcpu/sh/sh7032/timer/timer.c | 195 ------------------------------- 1 file changed, 195 deletions(-) delete mode 100644 c/src/lib/libcpu/sh/sh7032/timer/timer.c (limited to 'c/src/lib/libcpu/sh/sh7032/timer') diff --git a/c/src/lib/libcpu/sh/sh7032/timer/timer.c b/c/src/lib/libcpu/sh/sh7032/timer/timer.c deleted file mode 100644 index 94a834cb1e..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/timer/timer.c +++ /dev/null @@ -1,195 +0,0 @@ -/** - * @file - * @brief Timer for the Hitachi SH 703X - */ - -/* - * Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and - * Bernd Becker (becker@faw.uni-ulm.de) - * - * COPYRIGHT (c) 1997-1998, FAW Ulm, Germany - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * COPYRIGHT (c) 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.org/license/LICENSE. - */ - -#include -#include - -#include -#include -#include - -extern uint32_t bsp_clicks_per_second; - -#define I_CLK_PHI_1 0 -#define I_CLK_PHI_2 1 -#define I_CLK_PHI_4 2 -#define I_CLK_PHI_8 3 - -/* - * Set I_CLK_PHI to one of the I_CLK_PHI_X values from above to choose - * a PHI/X clock rate. - */ - -#define I_CLK_PHI I_CLK_PHI_4 -#define CLOCK_SCALE (1<