From 70470f0e74ceadcf200b40d0552ddeafd9187579 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 27 Jan 2005 12:08:08 +0000 Subject: [PATCH] SH stuff only on SH git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5674 a1c6a512-1295-4272-9138-f99709370657 --- firmware/debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/debug.c b/firmware/debug.c index 6a30c6076a..38823107e3 100644 --- a/firmware/debug.c +++ b/firmware/debug.c @@ -33,6 +33,7 @@ static char debugbuf[200]; void debug_init(void) { +#if CONFIG_CPU == SH7034 /* Clear it all! */ SSR1 &= ~(SCI_RDRF | SCI_ORER | SCI_PER | SCI_FER); @@ -41,6 +42,7 @@ void debug_init(void) SCR1 |= 0x40; SCR1 &= ~0x80; IPRE |= 0xf000; /* Set to highest priority */ +#endif } #ifdef DEBUG