diff options
author | Poonam Aggrwal <poonam.aggrwal@freescale.com> | 2009-07-02 16:15:01 +0530 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-07-02 08:34:13 -0500 |
commit | 039594a4301dadceb267db5e8b9c8c78b1bb86b5 (patch) | |
tree | 5a581113a3e837cf54527e10631a0be9bde18c3e /include/serial.h | |
parent | 546b1032907df70f2dd0f98f3ad09885a88411e5 (diff) | |
download | u-boot-imx-039594a4301dadceb267db5e8b9c8c78b1bb86b5.zip u-boot-imx-039594a4301dadceb267db5e8b9c8c78b1bb86b5.tar.gz u-boot-imx-039594a4301dadceb267db5e8b9c8c78b1bb86b5.tar.bz2 |
8xxx: Second UART port added for MPC85xx, MPC83xx, MPC86xx processors
Defining the next two configs allows to switch the serial port from the
console using the setenv stdin and stdout
1. #define CONFIG_SERIAL_MULTI 1 /* Enable both serial ports */
2. #define CONFIG_SYS_CONSOLE_IS_IN_ENV /* determine from environment */
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/serial.h')
-rw-r--r-- | include/serial.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/serial.h b/include/serial.h index aca5221..57223372 100644 --- a/include/serial.h +++ b/include/serial.h @@ -24,7 +24,8 @@ extern struct serial_device * default_serial_console (void); #if defined(CONFIG_405GP) || defined(CONFIG_405CR) || defined(CONFIG_440) || \ defined(CONFIG_405EP) || defined(CONFIG_405EZ) || defined(CONFIG_405EX) || \ - defined(CONFIG_MPC5xxx) + defined(CONFIG_MPC5xxx) || defined(CONFIG_MPC83xx) || \ + defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) extern struct serial_device serial0_device; extern struct serial_device serial1_device; #if defined(CONFIG_SYS_NS16550_SERIAL) |