]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ppc4xx: Remove now unused CONFIG_UART1_CONSOLE
authorStefan Roese <sr@denx.de>
Tue, 21 Sep 2010 08:24:36 +0000 (10:24 +0200)
committerStefan Roese <sr@denx.de>
Thu, 23 Sep 2010 07:02:05 +0000 (09:02 +0200)
CONFIG_UART1_CONSOLE was a PPC4xx specific implementation and is now
removed since the move from the 4xx UART driver to the common NS16550
UART driver. Let's remove all references to this define now.

Signed-off-by: Stefan Roese <sr@denx.de>
README
common/serial.c
drivers/serial/serial_netarm.c

diff --git a/README b/README
index aa11c377452ed099db45f6f0315f262ec27cda7e..c7a8e9ddf841c4914913151b9d90c683931c34a9 100644 (file)
--- a/README
+++ b/README
@@ -544,13 +544,6 @@ The following options need to be configured:
                Leave undefined to disable this feature, including
                disable the buffer and hardware handshake.
 
-- Console UART Number:
-               CONFIG_UART1_CONSOLE
-
-               AMCC PPC4xx only.
-               If defined internal UART1 (and not UART0) is used
-               as default U-Boot console.
-
 - Boot Delay:  CONFIG_BOOTDELAY - in seconds
                Delay before automatically booting the default image;
                set to -1 to disable autoboot.
index dbc74bd58011633ff8a76182a61dabbc17148c03..25b235aa135beeccdcf22ee966a306f5afb123fd 100644 (file)
@@ -54,10 +54,7 @@ struct serial_device *__default_serial_console (void)
 #else
 #error "Bad CONFIG_CONS_INDEX."
 #endif
-#elif defined(CONFIG_UART1_CONSOLE)
-               return &serial1_device;
-#else
-               return &serial0_device;
+       return &serial0_device;
 #endif
 #elif defined(CONFIG_MPC512X)
 #if (CONFIG_PSC_CONSOLE == 3)
index 2eb5393404a2a114bfcb053af1f185bd0b288df9..d04790d2703adf24b5f9a82d3cf9b286dcfad090 100644 (file)
@@ -51,13 +51,8 @@ DECLARE_GLOBAL_DATA_PTR;
 }
 
 
-#ifndef CONFIG_UART1_CONSOLE
 volatile netarm_serial_channel_t *serial_reg_ch1 = get_serial_channel(0);
 volatile netarm_serial_channel_t *serial_reg_ch2 = get_serial_channel(1);
-#else
-volatile netarm_serial_channel_t *serial_reg_ch1 = get_serial_channel(1);
-volatile netarm_serial_channel_t *serial_reg_ch2 = get_serial_channel(0);
-#endif
 
 extern void _netarm_led_FAIL1(void);