diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-08-01 12:51:06 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-08-01 12:51:06 +0000 |
commit | fa1073efe7c3664813b9d255ce48b7f41d772bc0 (patch) | |
tree | e6f86bc34de5f781e7d0d8cb4448fff3fc62fc79 /firmware/target/arm/system-pp502x.c | |
parent | 174c7abdff92dbb35ec3524279444913d6e5fbf1 (diff) | |
download | rockbox-fa1073efe7c3664813b9d255ce48b7f41d772bc0.tar.gz rockbox-fa1073efe7c3664813b9d255ce48b7f41d772bc0.zip |
Fix PP502x clock source masking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14116 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index c723f1b495..98ee78b0ff 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -171,7 +171,7 @@ static void pp_set_cpu_frequency(long frequency) | |||
171 | cpu_frequency = CPUFREQ_DEFAULT; | 171 | cpu_frequency = CPUFREQ_DEFAULT; |
172 | break; | 172 | break; |
173 | } | 173 | } |
174 | CLOCK_SOURCE = (CLOCK_SOURCE&~0xf000000)|0x20000000; /* select source #2 */ | 174 | CLOCK_SOURCE = (CLOCK_SOURCE & ~0xf0000000) | 0x20000000; /* select source #2 */ |
175 | 175 | ||
176 | CLCD_CLOCK_SRC; /* dummy read (to sync the write pipeline??) */ | 176 | CLCD_CLOCK_SRC; /* dummy read (to sync the write pipeline??) */ |
177 | CLCD_CLOCK_SRC = clcd_clock_src; /* restore saved value */ | 177 | CLCD_CLOCK_SRC = clcd_clock_src; /* restore saved value */ |