diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2019-10-20 17:01:35 +0200 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2019-11-01 22:31:28 +0100 |
commit | 1bdb7b76705a38936e9875950587ea91c9ec0a98 (patch) | |
tree | e1a0946643e6dcee33b9f64736bda0dd78b6ffb3 /arch/mips/loongson64/common/setup.c | |
parent | MIPS: Loongson2ef: clean up loongson64 related code (diff) | |
download | linux-1bdb7b76705a38936e9875950587ea91c9ec0a98.tar.xz linux-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.c | 21 |
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 } |