aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson64/common/setup.c
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2019-10-20 23:01:35 +0800
committerPaul Burton <paulburton@kernel.org>2019-11-01 14:31:28 -0700
commit1bdb7b76705a38936e9875950587ea91c9ec0a98 (patch)
treee1a0946643e6dcee33b9f64736bda0dd78b6ffb3 /arch/mips/loongson64/common/setup.c
parentMIPS: Loongson2ef: clean up loongson64 related code (diff)
downloadlinux-dev-1bdb7b76705a38936e9875950587ea91c9ec0a98.tar.xz
linux-dev-1bdb7b76705a38936e9875950587ea91c9ec0a98.zip
MIPS: Loongson64: Cleanup unused code
Clean up legacy code after stripping out Loongson2ef code. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: linux-mips@vger.kernel.org Cc: paul.burton@mips.com
Diffstat (limited to 'arch/mips/loongson64/common/setup.c')
-rw-r--r--arch/mips/loongson64/common/setup.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/mips/loongson64/common/setup.c b/arch/mips/loongson64/common/setup.c
index bc2da4c140c4..4fd27f4f90ed 100644
--- a/arch/mips/loongson64/common/setup.c
+++ b/arch/mips/loongson64/common/setup.c
@@ -11,11 +11,6 @@
#include <loongson.h>
-#ifdef CONFIG_VT
-#include <linux/console.h>
-#include <linux/screen_info.h>
-#endif
-
static void wbflush_loongson(void)
{
asm(".set\tpush\n\t"
@@ -32,20 +27,4 @@ EXPORT_SYMBOL(__wbflush);
void __init plat_mem_setup(void)
{
-#ifdef CONFIG_VT
-#if defined(CONFIG_VGA_CONSOLE)
- conswitchp = &vga_con;
-
- screen_info = (struct screen_info) {
- .orig_x = 0,
- .orig_y = 25,
- .orig_video_cols = 80,
- .orig_video_lines = 25,
- .orig_video_isVGA = VIDEO_TYPE_VGAC,
- .orig_video_points = 16,
- };
-#elif defined(CONFIG_DUMMY_CONSOLE)
- conswitchp = &dummy_con;
-#endif
-#endif
}