diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/config-fmrecorder.h | 3 | ||||
-rw-r--r-- | firmware/config-player.h | 3 | ||||
-rw-r--r-- | firmware/config-recorder.h | 3 | ||||
-rw-r--r-- | firmware/system.h | 6 |
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 @@ /* Define this if you have a FM Recorder key system */ #define HAVE_FMADC 1 + +/* Define this to the CPU frequency */ +#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 @@ /* Define this if you have a DAC3550A */ #define HAVE_DAC3550A + +/* Define this to the CPU frequency */ +#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 @@ /* Define this if you have ATA power-off control */ #define HAVE_ATA_POWER_OFF + +/* Define this to the CPU frequency */ +#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 @@ #include "sh7034.h" #include "config.h" -#ifdef ARCHOS_RECORDER -# define FREQ 11059200 -#else -# define FREQ 12000000 /* cycle time ~83.3ns */ -#endif +#define FREQ CPU_FREQ #define BAUDRATE 9600 #ifndef NULL |