]> git.sur5r.net Git - u-boot/commitdiff
serial: CONSOLE macro is not used
authorMichal Simek <monstr@monstr.eu>
Thu, 9 Aug 2012 21:04:28 +0000 (21:04 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 10 Aug 2012 21:25:35 +0000 (23:25 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Mike Frysinger <vapier@gentoo.org>
drivers/serial/serial.c

index 0d6ad6283ace04ff723afafc1bb1908cc9d4d310..b10bab70d02f9806085b8c5e1483b46e0ace855a 100644 (file)
@@ -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)