diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:30:12 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:30:12 +0000 |
commit | ffefe0c08bdeeab725ce5fc054b3add4e05a1f7f (patch) | |
tree | dfc702293ed4218f62c57b8d3ba29e5ae49dc263 /firmware/target/coldfire | |
parent | c5dedd7d762f48e940ecc0bd17dd2173d59a92e1 (diff) |
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
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r-- | firmware/target/coldfire/timer-coldfire.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/timer-target.h | 27 |
2 files changed, 0 insertions, 28 deletions
diff --git a/firmware/target/coldfire/timer-coldfire.c b/firmware/target/coldfire/timer-coldfire.c index 0916ebedf7..49d22bb5fa 100644 --- a/firmware/target/coldfire/timer-coldfire.c +++ b/firmware/target/coldfire/timer-coldfire.c @@ -25,7 +25,6 @@ #include "system.h" #include "cpu.h" #include "timer.h" -#include "timer-target.h" static int base_prescale; diff --git a/firmware/target/coldfire/timer-target.h b/firmware/target/coldfire/timer-target.h deleted file mode 100644 index 3aff57de9e..0000000000 --- a/firmware/target/coldfire/timer-target.h +++ /dev/null @@ -1,27 +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 - -/* timer is based on busclk == cpuclk/2 */ -#define TIMER_FREQ (CPU_FREQ/2) - -#endif /* TIMER_TARGET_H */ |