[U-Boot] [PATCH] serial: CONSOLE macro is not used

Michal Simek monstr at monstr.eu
Fri Aug 10 09:04:28 CEST 2012


Signed-off-by: Michal Simek <monstr at monstr.eu>
---
 drivers/serial/serial.c |    3 ---
 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)
 
-- 
1.7.0.4



More information about the U-Boot mailing list