From ffefe0c08bdeeab725ce5fc054b3add4e05a1f7f Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Mon, 29 Jun 2009 14:30:12 +0000 Subject: Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h Note : SH has TIMER_FREQ defined to CPU_FREQ, so any code wanting it must include #config.h before #cpu.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21560 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/sh/archos/timer-archos.c | 1 - firmware/target/sh/archos/timer-target.h | 28 ---------------------------- 2 files changed, 29 deletions(-) delete mode 100644 firmware/target/sh/archos/timer-target.h (limited to 'firmware/target/sh/archos') diff --git a/firmware/target/sh/archos/timer-archos.c b/firmware/target/sh/archos/timer-archos.c index 07d63ed3a8..98a3afb4b6 100644 --- a/firmware/target/sh/archos/timer-archos.c +++ b/firmware/target/sh/archos/timer-archos.c @@ -22,7 +22,6 @@ #include "cpu.h" #include "system.h" #include "timer.h" -#include "timer-target.h" void IMIA4(void) __attribute__((interrupt_handler)); void IMIA4(void) diff --git a/firmware/target/sh/archos/timer-target.h b/firmware/target/sh/archos/timer-target.h deleted file mode 100644 index 6cdd442917..0000000000 --- a/firmware/target/sh/archos/timer-target.h +++ /dev/null @@ -1,28 +0,0 @@ -/*************************************************************************** -* __________ __ ___. -* Open \______ \ ____ ____ | | _\_ |__ _______ ___ -* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / -* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < -* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ -* \/ \/ \/ \/ \/ -* $Id$ -* -* Copyright (C) 2005 Jens Arnold -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* of the License, or (at your option) any later version. -* -* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY -* KIND, either express or implied. -* -****************************************************************************/ -#ifndef TIMER_TARGET_H -#define TIMER_TARGET_H - -#include "config.h" - -#define TIMER_FREQ CPU_FREQ - -#endif /* TIMER_TARGET_H */ -- cgit v1.2.3