Made almost the entire file dependent on SH7034. This probably needs attention.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5681 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
557fc20f3a
commit
e0d906d250
1 changed files with 4 additions and 1 deletions
|
@ -16,11 +16,12 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#include "sh7034.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
static char debugmembuf[100];
|
||||
|
@ -46,6 +47,7 @@ void debug_init(void)
|
|||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if CONFIG_CPU == SH7034 /* these are still very SH-oriented */
|
||||
static int debug_tx_ready(void)
|
||||
{
|
||||
return (SSR1 & SCI_TDRE);
|
||||
|
@ -195,6 +197,7 @@ static void debug(const char *msg)
|
|||
mem2hex(msg, &debugbuf[1], strlen(msg));
|
||||
putpacket(debugbuf);
|
||||
}
|
||||
#endif /* SH7034 */
|
||||
#endif /* end of DEBUG section */
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
|
Loading…
Reference in a new issue