Improved CPU clock setup for PP502x. PP5020 and PP5022 are not register compatible...
commit5d6139dc1382b81772e12c294b535624fe2d9a62
authoramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Mon, 2 Jul 2007 05:16:40 +0000 (2 05:16 +0000)
committeramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Mon, 2 Jul 2007 05:16:40 +0000 (2 05:16 +0000)
tree5e12734e3f510c393ca272048f5425435ea26bf3
parent7b703f08941ff13768040ed7e18999eb214a9c3d
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
14 files changed:
apps/debug_menu.c
firmware/export/config-ipodmini2g.h
firmware/export/config-ipodnano.h
firmware/export/config-ipodvideo.h
firmware/export/config.h
firmware/export/cpu.h
firmware/rolo.c
firmware/target/arm/ata-as-arm.S
firmware/target/arm/ata-target.h
firmware/target/arm/ipod/lcd-gray.c
firmware/target/arm/pcm-pp.c
firmware/target/arm/system-pp502x.c
firmware/target/arm/system-target.h
firmware/target/arm/wmcodec-pp.c