summaryrefslogtreecommitdiff
path: root/firmware/debug.c
diff options
context:
space:
mode:
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 6a30c60..3882310 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