summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@fifi.denx.de>2006-06-16 17:04:45 +0200
committerWolfgang Denk <wd@fifi.denx.de>2006-06-16 17:04:45 +0200
commitc12cffc543df621c162ba26e012c7f4ab0af496e (patch)
treea95bf59985f73d892802ad1df0f6227fa68275c3 /include
parent30a43cc2aeb84dfd96a411fb2da2ff4ab10dcd5a (diff)
downloadu-boot-imx-c12cffc543df621c162ba26e012c7f4ab0af496e.zip
u-boot-imx-c12cffc543df621c162ba26e012c7f4ab0af496e.tar.gz
u-boot-imx-c12cffc543df621c162ba26e012c7f4ab0af496e.tar.bz2
Add support for CONFIG_SERIAL_MULTI on MPC5xxx
Patch by Martin Krause, 8 Jun 2006 This patch supports two serial consoles on boards with a MPC5xxx CPU. The console can be switched at runtime by setting stdin, stdout and stderr to the desired serial interface (serial0 or serial1). The PSCs to be used as console port are definded by CONFIG_PSC_CONSOLE and CONFIG_PSC_CONSOLE2. See README.serial_multi for details.
Diffstat (limited to 'include')
-rw-r--r--include/serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/serial.h b/include/serial.h
index c8abb72..8c7b1c2 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -23,7 +23,7 @@ extern struct serial_device serial_scc_device;
extern struct serial_device * default_serial_console (void);
#if defined(CONFIG_405GP) || defined(CONFIG_405CR) || defined(CONFIG_440) \
- || defined(CONFIG_405EP)
+ || defined(CONFIG_405EP) || defined(CONFIG_MPC5xxx)
extern struct serial_device serial0_device;
extern struct serial_device serial1_device;
#endif