microblaze: remove check for CONFIG_XILINX_CONSOLE
authorPaul Bolle <pebolle@tiscali.nl>
Tue, 20 May 2014 09:55:50 +0000 (11:55 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 4 Jun 2014 05:00:00 +0000 (07:00 +0200)
There's been a check for CONFIG_XILINX_CONSOLE since v2.6.30. But the
Kconfig symbol XILINX_CONSOLE was never added. Remove this check.

And, since DUMMY_CONSOLE depends on VT, we can now drop the check for
CONFIG_VT.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/setup.c

index ef01129..ab5b488 100644 (file)
@@ -71,13 +71,9 @@ void __init setup_arch(char **cmdline_p)
 
        xilinx_pci_init();
 
-#ifdef CONFIG_VT
-#if defined(CONFIG_XILINX_CONSOLE)
-       conswitchp = &xil_con;
-#elif defined(CONFIG_DUMMY_CONSOLE)
+#if defined(CONFIG_DUMMY_CONSOLE)
        conswitchp = &dummy_con;
 #endif
-#endif
 }
 
 #ifdef CONFIG_MTD_UCLINUX