diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-05-08 13:24:30 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-05-08 13:24:30 +0000 |
commit | 642ac35940a950fe6ee6c4de92e3a75533a4f978 (patch) | |
tree | 5e0924bdd030b6c644ccbd2abac4b7cd3afd1654 /firmware/debug.c | |
parent | ba4df32100c9363b501896331d2bfce84333a767 (diff) | |
download | rockbox-642ac35940a950fe6ee6c4de92e3a75533a4f978.tar.gz rockbox-642ac35940a950fe6ee6c4de92e3a75533a4f978.zip |
More dead code...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6430 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/debug.c')
-rw-r--r-- | firmware/debug.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/debug.c b/firmware/debug.c index e3be2de168..33b55a5c41 100644 --- a/firmware/debug.c +++ b/firmware/debug.c | |||
@@ -32,9 +32,10 @@ static char debugbuf[200]; | |||
32 | #include "kernel.h" | 32 | #include "kernel.h" |
33 | #include "system.h" | 33 | #include "system.h" |
34 | 34 | ||
35 | #ifdef DEBUG | ||
36 | #if CONFIG_CPU == SH7034 /* these are still very SH-oriented */ | ||
35 | void debug_init(void) | 37 | void debug_init(void) |
36 | { | 38 | { |
37 | #if CONFIG_CPU == SH7034 | ||
38 | /* Clear it all! */ | 39 | /* Clear it all! */ |
39 | SSR1 &= ~(SCI_RDRF | SCI_ORER | SCI_PER | SCI_FER); | 40 | SSR1 &= ~(SCI_RDRF | SCI_ORER | SCI_PER | SCI_FER); |
40 | 41 | ||
@@ -43,11 +44,8 @@ void debug_init(void) | |||
43 | SCR1 |= 0x40; | 44 | SCR1 |= 0x40; |
44 | SCR1 &= ~0x80; | 45 | SCR1 &= ~0x80; |
45 | IPRE |= 0xf000; /* Set to highest priority */ | 46 | IPRE |= 0xf000; /* Set to highest priority */ |
46 | #endif | ||
47 | } | 47 | } |
48 | 48 | ||
49 | #ifdef DEBUG | ||
50 | #if CONFIG_CPU == SH7034 /* these are still very SH-oriented */ | ||
51 | static int debug_tx_ready(void) | 49 | static int debug_tx_ready(void) |
52 | { | 50 | { |
53 | return (SSR1 & SCI_TDRE); | 51 | return (SSR1 & SCI_TDRE); |