1
0
Fork 0
forked from len0rd/rockbox

More dead code...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6430 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-05-08 13:24:30 +00:00
parent ba4df32100
commit 642ac35940
2 changed files with 3 additions and 8 deletions

View file

@ -32,9 +32,10 @@ static char debugbuf[200];
#include "kernel.h"
#include "system.h"
#ifdef DEBUG
#if CONFIG_CPU == SH7034 /* these are still very SH-oriented */
void debug_init(void)
{
#if CONFIG_CPU == SH7034
/* Clear it all! */
SSR1 &= ~(SCI_RDRF | SCI_ORER | SCI_PER | SCI_FER);
@ -43,11 +44,8 @@ void debug_init(void)
SCR1 |= 0x40;
SCR1 &= ~0x80;
IPRE |= 0xf000; /* Set to highest priority */
#endif
}
#ifdef DEBUG
#if CONFIG_CPU == SH7034 /* these are still very SH-oriented */
static int debug_tx_ready(void)
{
return (SSR1 & SCI_TDRE);