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:
parent
3c10fd592c
commit
716ed218f3
2 changed files with 9 additions and 6 deletions
|
|
@ -27,7 +27,9 @@
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "serial.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 */
|
#ifndef HAVE_MMC /* MMC takes serial port 1, so don't mess with it */
|
||||||
|
|
||||||
/* Received byte identifiers */
|
/* Received byte identifiers */
|
||||||
|
|
@ -138,9 +140,9 @@ int remote_control_rx(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_MMC */
|
#endif /* HAVE_MMC */
|
||||||
#else
|
#else /* (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730) */
|
||||||
void serial_setup (void)
|
void serial_setup (void)
|
||||||
{
|
{
|
||||||
/* a dummy */
|
/* a dummy */
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_CPU != MCF5249 */
|
#endif /* ! (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730) */
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,8 @@
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "buffer.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
|
#define IRQ0_EDGE_TRIGGER 0x80
|
||||||
|
|
||||||
|
|
@ -145,7 +146,7 @@ int rolo_load(const char* filename)
|
||||||
|
|
||||||
return 0; /* this is never reached */
|
return 0; /* this is never reached */
|
||||||
}
|
}
|
||||||
#else /* CONFIG_CPU != MCF5249 */
|
#else /* (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730) */
|
||||||
int rolo_load(const char* filename)
|
int rolo_load(const char* filename)
|
||||||
{
|
{
|
||||||
/* dummy */
|
/* dummy */
|
||||||
|
|
@ -153,4 +154,4 @@ int rolo_load(const char* filename)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_CPU == MCF5249 */
|
#endif /* ! (CONFIG_CPU != MCF5249) && (CONFIG_CPU != TCC730) */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue