summaryrefslogtreecommitdiff
path: root/firmware/drivers/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/serial.c')
-rw-r--r--firmware/drivers/serial.c9
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
142void serial_setup (void)
143{
144 /* a dummy */
145}
146#endif /* CONFIG_CPU != MCF5249 */