SH stuff only on SH

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5674 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2005-01-27 12:08:08 +00:00
parent 9b6784dbfc
commit 70470f0e74

View file

@ -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