summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-21 19:15:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-21 19:15:12 +0000
commit1774d4d885bd6abab5096b1ea4f57e06caed501f (patch)
treedf281974ee79785514178c81acd15985ccffcc39 /firmware
parentd853887a57405d380d6040196ff89cddcbf6eff3 (diff)
downloadrockbox-1774d4d885bd6abab5096b1ea4f57e06caed501f.tar.gz
rockbox-1774d4d885bd6abab5096b1ea4f57e06caed501f.zip
define the CPU frequency in the config-*.h file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3142 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/config-fmrecorder.h3
-rw-r--r--firmware/config-player.h3
-rw-r--r--firmware/config-recorder.h3
-rw-r--r--firmware/system.h6
4 files changed, 10 insertions, 5 deletions
diff --git a/firmware/config-fmrecorder.h b/firmware/config-fmrecorder.h
index ed3454ff7e..3fdb27dfb9 100644
--- a/firmware/config-fmrecorder.h
+++ b/firmware/config-fmrecorder.h
@@ -21,3 +21,6 @@
21 21
22/* Define this if you have a FM Recorder key system */ 22/* Define this if you have a FM Recorder key system */
23#define HAVE_FMADC 1 23#define HAVE_FMADC 1
24
25/* Define this to the CPU frequency */
26#define CPU_FREQ 11059200
diff --git a/firmware/config-player.h b/firmware/config-player.h
index 2068c94db4..f07a41aacc 100644
--- a/firmware/config-player.h
+++ b/firmware/config-player.h
@@ -9,3 +9,6 @@
9 9
10/* Define this if you have a DAC3550A */ 10/* Define this if you have a DAC3550A */
11#define HAVE_DAC3550A 11#define HAVE_DAC3550A
12
13/* Define this to the CPU frequency */
14#define CPU_FREQ 12000000 /* cycle time ~83.3ns */
diff --git a/firmware/config-recorder.h b/firmware/config-recorder.h
index 566758156c..2a38cff7d2 100644
--- a/firmware/config-recorder.h
+++ b/firmware/config-recorder.h
@@ -18,3 +18,6 @@
18 18
19/* Define this if you have ATA power-off control */ 19/* Define this if you have ATA power-off control */
20#define HAVE_ATA_POWER_OFF 20#define HAVE_ATA_POWER_OFF
21
22/* Define this to the CPU frequency */
23#define CPU_FREQ 11059200
diff --git a/firmware/system.h b/firmware/system.h
index 28c33d6c19..d5f1b4ba97 100644
--- a/firmware/system.h
+++ b/firmware/system.h
@@ -23,11 +23,7 @@
23#include "sh7034.h" 23#include "sh7034.h"
24#include "config.h" 24#include "config.h"
25 25
26#ifdef ARCHOS_RECORDER 26#define FREQ CPU_FREQ
27# define FREQ 11059200
28#else
29# define FREQ 12000000 /* cycle time ~83.3ns */
30#endif
31#define BAUDRATE 9600 27#define BAUDRATE 9600
32 28
33#ifndef NULL 29#ifndef NULL