summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodvideo.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-07-02 05:16:40 +0000
committerJens Arnold <amiconn@rockbox.org>2007-07-02 05:16:40 +0000
commitfe23dc8f15e9d01ea634d10b334984f1d8760007 (patch)
tree5e12734e3f510c393ca272048f5425435ea26bf3 /firmware/export/config-ipodvideo.h
parent36de1a4d084da18af22d47a435a4eebcf3c50fb2 (diff)
downloadrockbox-fe23dc8f15e9d01ea634d10b334984f1d8760007.tar.gz
rockbox-fe23dc8f15e9d01ea634d10b334984f1d8760007.zip
Improved CPU clock setup for PP502x. PP5020 and PP5022 are not register compatible here, so define the PP5022 targets properly, and introduce a CPU_PP502x macro for easier family check. Improves stability on PP5020 (less freezing, tested with Mini G1) and reduces clock change penalty (500us on PP5020; uses the relock bit on PP5022).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodvideo.h')
-rw-r--r--firmware/export/config-ipodvideo.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h
index 46411a7784..e954859eb0 100644
--- a/firmware/export/config-ipodvideo.h
+++ b/firmware/export/config-ipodvideo.h
@@ -74,10 +74,8 @@
74 74
75#ifndef SIMULATOR 75#ifndef SIMULATOR
76 76
77/* The Nano actually has a PP5021 - but it's register compatible with 77/* Define this if you have a PortalPlayer PP5022 */
78 the 5020 so Rockbox doesn't care. */ 78#define CONFIG_CPU PP5022
79/* Define this if you have a PortalPlayer PP5020 */
80#define CONFIG_CPU PP5020
81 79
82/* Define this if you want to use the PP5020 i2c interface */ 80/* Define this if you want to use the PP5020 i2c interface */
83#define CONFIG_I2C I2C_PP5020 81#define CONFIG_I2C I2C_PP5020