summaryrefslogtreecommitdiffstats
path: root/firmware/debug.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-27 12:08:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-27 12:08:08 +0000
commit70470f0e74ceadcf200b40d0552ddeafd9187579 (patch)
tree4578d0e4d882cdaa8cd27befe9ae798724761b93 /firmware/debug.c
parent9b6784dbfc9d072d745f8f967e8c63ff96c3e9f7 (diff)
downloadrockbox-70470f0e74ceadcf200b40d0552ddeafd9187579.tar.gz
rockbox-70470f0e74ceadcf200b40d0552ddeafd9187579.tar.bz2
rockbox-70470f0e74ceadcf200b40d0552ddeafd9187579.zip
SH stuff only on SH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5674 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/debug.c')
-rw-r--r--firmware/debug.c2
1 files changed, 2 insertions, 0 deletions
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