diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/debug.c | 2 |
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]; | |||
33 | 33 | ||
34 | void debug_init(void) | 34 | void debug_init(void) |
35 | { | 35 | { |
36 | #if CONFIG_CPU == SH7034 | ||
36 | /* Clear it all! */ | 37 | /* Clear it all! */ |
37 | SSR1 &= ~(SCI_RDRF | SCI_ORER | SCI_PER | SCI_FER); | 38 | SSR1 &= ~(SCI_RDRF | SCI_ORER | SCI_PER | SCI_FER); |
38 | 39 | ||
@@ -41,6 +42,7 @@ void debug_init(void) | |||
41 | SCR1 |= 0x40; | 42 | SCR1 |= 0x40; |
42 | SCR1 &= ~0x80; | 43 | SCR1 &= ~0x80; |
43 | IPRE |= 0xf000; /* Set to highest priority */ | 44 | IPRE |= 0xf000; /* Set to highest priority */ |
45 | #endif | ||
44 | } | 46 | } |
45 | 47 | ||
46 | #ifdef DEBUG | 48 | #ifdef DEBUG |