1
0
Fork 0
forked from len0rd/rockbox

Move PNX0101 timer code in the target tree

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21554 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-06-29 14:29:02 +00:00
parent e0640c3c4b
commit 15a7f5e5e9
5 changed files with 125 additions and 52 deletions

View file

@ -31,11 +31,9 @@
#elif defined(CPU_COLDFIRE)
/* timer is based on busclk == cpuclk/2 */
#define TIMER_FREQ (CPU_FREQ/2)
#elif CONFIG_CPU == PNX0101
#define TIMER_FREQ 3000000
#elif CONFIG_CPU == S3C2440 || CONFIG_CPU == DM320 || CONFIG_CPU == TCC7801 \
|| defined(CPU_TCC77X) || CONFIG_CPU == AS3525 || CONFIG_CPU == IMX31L \
|| CONFIG_CPU == JZ4732
|| CONFIG_CPU == JZ4732 || CONFIG_CPU == PNX0101
#include "timer-target.h"
#elif defined(SIMULATOR)
#define TIMER_FREQ 1000000