forked from len0rd/rockbox
provide coldfire dummies to build for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5743 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
36355a5c66
commit
b794f30d20
2 changed files with 16 additions and 1 deletions
|
@ -23,6 +23,8 @@
|
|||
#include "debug.h"
|
||||
#include "system.h"
|
||||
|
||||
#if CONFIG_I2C != I2C_H100 /* FIX: not yet done */
|
||||
|
||||
/* cute little functions, atomic read-modify-write */
|
||||
#if CONFIG_I2C == I2C_GMINI
|
||||
|
||||
|
@ -279,3 +281,9 @@ int i2c_read(int address, unsigned char* buf, int count )
|
|||
i2c_stop();
|
||||
return x;
|
||||
}
|
||||
#else /* not h100 i2c */
|
||||
void i2c_init(void)
|
||||
{
|
||||
/* a dummy */
|
||||
}
|
||||
#endif /* h100 i2c */
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <stdlib.h>
|
||||
#include "button.h"
|
||||
#include "config.h"
|
||||
#include "sh7034.h"
|
||||
#include "cpu.h"
|
||||
#include "system.h"
|
||||
#include "kernel.h"
|
||||
#include "backlight.h"
|
||||
|
@ -27,6 +27,7 @@
|
|||
#include "lcd.h"
|
||||
#include "serial.h"
|
||||
|
||||
#if CONFIG_CPU != MCF5249 /* FIX: this is not compiled for coldfire */
|
||||
#ifndef HAVE_MMC /* MMC takes serial port 1, so don't mess with it */
|
||||
|
||||
/* Received byte identifiers */
|
||||
|
@ -137,3 +138,9 @@ int remote_control_rx(void)
|
|||
}
|
||||
|
||||
#endif /* HAVE_MMC */
|
||||
#else
|
||||
void serial_setup (void)
|
||||
{
|
||||
/* a dummy */
|
||||
}
|
||||
#endif /* CONFIG_CPU != MCF5249 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue