From ffefe0c08bdeeab725ce5fc054b3add4e05a1f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= 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/export/pp5020.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/export/pp5020.h') diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h index 35fe09c..2d8d0e1 100644 --- a/firmware/export/pp5020.h +++ b/firmware/export/pp5020.h @@ -690,4 +690,8 @@ #define DMA_INCR_WIDTH_32BIT (0x2 << 28) /* All other values reserved? */ +/* Timer frequency */ +/* Portalplayer chips use a microsecond timer. */ +#define TIMER_FREQ 1000000 + #endif /* __PP5020_H__ */ -- cgit v1.1