forked from len0rd/rockbox
Adjust iPod Classic CPU clock speed constants to at least roughly correct values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29005 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
958b638def
commit
44f924f8b4
2 changed files with 6 additions and 6 deletions
|
@ -28,8 +28,8 @@
|
|||
#define REG16_PTR_T volatile uint16_t *
|
||||
#define REG32_PTR_T volatile uint32_t *
|
||||
|
||||
//TODO: Figure out
|
||||
#define TIMER_FREQ (1843200 * 4 * 26 / 1 / 4) /* 47923200 Hz */
|
||||
//TODO: Figure out exact value
|
||||
#define TIMER_FREQ 216000000
|
||||
|
||||
#define CACHEALIGN_BITS (4) /* 2^4 = 16 bytes */
|
||||
|
||||
|
|
|
@ -24,11 +24,11 @@
|
|||
#include "system-arm.h"
|
||||
#include "mmu-arm.h"
|
||||
|
||||
//TODO: Figure out
|
||||
//TODO: Figure out exact values
|
||||
#define CPUFREQ_SLEEP 32768
|
||||
#define CPUFREQ_MAX (1843200 * 4 * 26 / 1) /* 191692800 Hz */
|
||||
#define CPUFREQ_DEFAULT (CPUFREQ_MAX/4) /* 47923200 Hz */
|
||||
#define CPUFREQ_NORMAL (CPUFREQ_MAX/4)
|
||||
#define CPUFREQ_MAX 216000000
|
||||
#define CPUFREQ_DEFAULT 216000000
|
||||
#define CPUFREQ_NORMAL 216000000
|
||||
|
||||
#define STORAGE_WANTS_ALIGN
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue