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:
parent
9b6784dbfc
commit
70470f0e74
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue