summaryrefslogtreecommitdiff
path: root/drivers/serial/serial.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-08-09 21:04:28 +0000
committerAnatolij Gustschin <agust@denx.de>2012-08-10 23:25:35 +0200
commitfc3608513ba13506d1e977d77e26916882803dfb (patch)
tree041e3f8314d04e8194621210379e97162d856fc6 /drivers/serial/serial.c
parent4d3c95f5ea7c737a21cd6b9c59435ee693b3f127 (diff)
downloadu-boot-imx-fc3608513ba13506d1e977d77e26916882803dfb.zip
u-boot-imx-fc3608513ba13506d1e977d77e26916882803dfb.tar.gz
u-boot-imx-fc3608513ba13506d1e977d77e26916882803dfb.tar.bz2
serial: CONSOLE macro is not used
Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/serial/serial.c')
-rw-r--r--drivers/serial/serial.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 0d6ad62..b10bab7 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -84,9 +84,6 @@ static NS16550_t serial_ports[4] = {
};
#define PORT serial_ports[port-1]
-#if defined(CONFIG_CONS_INDEX)
-#define CONSOLE (serial_ports[CONFIG_CONS_INDEX-1])
-#endif
#if defined(CONFIG_SERIAL_MULTI)