summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2007-02-22 14:54:13 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2007-02-22 14:54:13 +0000
commit9744433752b59a5da45c8076c4be6d2980d8cbbb (patch)
tree5cb91152ecf9725a45b5bd7d247a96ebb7b5263c /firmware/target/coldfire
parentc4ccd9ee860428dd127b9d5affff81a4f9420c6c (diff)
Move the MPARK init to system_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12452 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/iriver/h300/lcd-h300.c2
-rw-r--r--firmware/target/coldfire/pcm-coldfire.c1
-rw-r--r--firmware/target/coldfire/system-coldfire.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/firmware/target/coldfire/iriver/h300/lcd-h300.c b/firmware/target/coldfire/iriver/h300/lcd-h300.c
index 87035f00c9..3e5642e35d 100644
--- a/firmware/target/coldfire/iriver/h300/lcd-h300.c
+++ b/firmware/target/coldfire/iriver/h300/lcd-h300.c
@@ -237,8 +237,6 @@ static void _display_on(void)
/* LCD init */
void lcd_init_device(void)
{
- MPARK = 0x81; /* PARK[1,0]=10 + BCR24BIT */
-
/* GPO46 is LCD RESET */
or_l(0x00004000, &GPIO1_OUT);
or_l(0x00004000, &GPIO1_ENABLE);
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c
index e64dfaa3ce..5c7186e567 100644
--- a/firmware/target/coldfire/pcm-coldfire.c
+++ b/firmware/target/coldfire/pcm-coldfire.c
@@ -188,7 +188,6 @@ void pcm_init(void)
pcm_paused = false;
pcm_callback_for_more = NULL;
- MPARK = 0x81; /* PARK[1,0]=10 + BCR24BIT */
DIVR0 = 54; /* DMA0 is mapped into vector 54 in system.c */
DMAROUTE = (DMAROUTE & 0xffffff00) | DMA0_REQ_AUDIO_1;
DMACONFIG = 1; /* DMA0Req = PDOR3, DMA1Req = PDIR2 */
diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c
index 54157214d9..9e5db41daa 100644
--- a/firmware/target/coldfire/system-coldfire.c
+++ b/firmware/target/coldfire/system-coldfire.c
@@ -248,6 +248,8 @@ void system_init(void)
/* Set INTBASE and SPURVEC */
INTBASE = 64;
SPURVEC = 24;
+
+ MPARK = 0x81; /* PARK[1,0]=10 + BCR24BIT */
}
void system_reboot (void)