forked from len0rd/rockbox
Move coldfire timer code in the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21555 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
15a7f5e5e9
commit
c34ca87b64
5 changed files with 164 additions and 85 deletions
|
@ -28,12 +28,10 @@
|
|||
#if defined(CPU_PP)
|
||||
/* Portalplayer chips use a microsecond timer. */
|
||||
#define TIMER_FREQ 1000000
|
||||
#elif defined(CPU_COLDFIRE)
|
||||
/* timer is based on busclk == cpuclk/2 */
|
||||
#define TIMER_FREQ (CPU_FREQ/2)
|
||||
#elif CONFIG_CPU == S3C2440 || CONFIG_CPU == DM320 || CONFIG_CPU == TCC7801 \
|
||||
|| defined(CPU_TCC77X) || CONFIG_CPU == AS3525 || CONFIG_CPU == IMX31L \
|
||||
|| CONFIG_CPU == JZ4732 || CONFIG_CPU == PNX0101
|
||||
|| CONFIG_CPU == JZ4732 || CONFIG_CPU == PNX0101 \
|
||||
|| defined(CPU_COLDFIRE)
|
||||
#include "timer-target.h"
|
||||
#elif defined(SIMULATOR)
|
||||
#define TIMER_FREQ 1000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue