diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-02-02 21:47:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-02 21:47:43 +0000 |
commit | b794f30d209cd32349fb2bd64c90b9668b828eb7 (patch) | |
tree | eb33f985f7df122a7bd91ed451e6204570076068 /firmware/drivers/serial.c | |
parent | 36355a5c6646ce51969b68526058efa5f325fcbf (diff) | |
download | rockbox-b794f30d209cd32349fb2bd64c90b9668b828eb7.tar.gz rockbox-b794f30d209cd32349fb2bd64c90b9668b828eb7.zip |
provide coldfire dummies to build for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5743 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/serial.c')
-rw-r--r-- | firmware/drivers/serial.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/drivers/serial.c b/firmware/drivers/serial.c index 8a16cfb3b5..6ee5b4f81b 100644 --- a/firmware/drivers/serial.c +++ b/firmware/drivers/serial.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
20 | #include "button.h" | 20 | #include "button.h" |
21 | #include "config.h" | 21 | #include "config.h" |
22 | #include "sh7034.h" | 22 | #include "cpu.h" |
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "kernel.h" | 24 | #include "kernel.h" |
25 | #include "backlight.h" | 25 | #include "backlight.h" |
@@ -27,6 +27,7 @@ | |||
27 | #include "lcd.h" | 27 | #include "lcd.h" |
28 | #include "serial.h" | 28 | #include "serial.h" |
29 | 29 | ||
30 | #if CONFIG_CPU != MCF5249 /* FIX: this is not compiled for coldfire */ | ||
30 | #ifndef HAVE_MMC /* MMC takes serial port 1, so don't mess with it */ | 31 | #ifndef HAVE_MMC /* MMC takes serial port 1, so don't mess with it */ |
31 | 32 | ||
32 | /* Received byte identifiers */ | 33 | /* Received byte identifiers */ |
@@ -137,3 +138,9 @@ int remote_control_rx(void) | |||
137 | } | 138 | } |
138 | 139 | ||
139 | #endif /* HAVE_MMC */ | 140 | #endif /* HAVE_MMC */ |
141 | #else | ||
142 | void serial_setup (void) | ||
143 | { | ||
144 | /* a dummy */ | ||
145 | } | ||
146 | #endif /* CONFIG_CPU != MCF5249 */ | ||