1
0
Fork 0
forked from len0rd/rockbox

these are not compiling for Gmini either atm

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5789 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2005-02-04 15:07:50 +00:00
parent 3c10fd592c
commit 716ed218f3
2 changed files with 9 additions and 6 deletions

View file

@ -27,7 +27,9 @@
#include "lcd.h"
#include "serial.h"
#if CONFIG_CPU != MCF5249 /* FIX: this is not compiled for coldfire */
#if (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730)
/* FIX: this doesn't work on iRiver or Gmini yet */
#ifndef HAVE_MMC /* MMC takes serial port 1, so don't mess with it */
/* Received byte identifiers */
@ -138,9 +140,9 @@ int remote_control_rx(void)
}
#endif /* HAVE_MMC */
#else
#else /* (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730) */
void serial_setup (void)
{
/* a dummy */
}
#endif /* CONFIG_CPU != MCF5249 */
#endif /* ! (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730) */

View file

@ -29,7 +29,8 @@
#include "string.h"
#include "buffer.h"
#if CONFIG_CPU != MCF5249 /* FIX: this doesn't work on iRiver yet */
#if (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730)
/* FIX: this doesn't work on iRiver or Gmini yet */
#define IRQ0_EDGE_TRIGGER 0x80
@ -145,7 +146,7 @@ int rolo_load(const char* filename)
return 0; /* this is never reached */
}
#else /* CONFIG_CPU != MCF5249 */
#else /* (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730) */
int rolo_load(const char* filename)
{
/* dummy */
@ -153,4 +154,4 @@ int rolo_load(const char* filename)
return 0;
}
#endif /* CONFIG_CPU == MCF5249 */
#endif /* ! (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730) */