Skip to content

Commit

Permalink
MIPS: Loongson2ef: clean up loongson64 related code
Browse files Browse the repository at this point in the history
Remove unrelevent macros, defines and codes from loongson2ef mach.
Also rename some defines to match new naming.

Signed-off-by: Jiaxun Yang <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: [email protected]
  • Loading branch information
FlyGoat authored and paulburton committed Nov 1, 2019
1 parent 71e2f4d commit 5831fdb
Show file tree
Hide file tree
Showing 30 changed files with 56 additions and 1,097 deletions.
221 changes: 0 additions & 221 deletions arch/mips/include/asm/mach-loongson2ef/boot_param.h

This file was deleted.

15 changes: 3 additions & 12 deletions arch/mips/include/asm/mach-loongson2ef/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2009 Wu Zhangjin <[email protected]>
* Copyright (C) 2009 Philippe Vachon <[email protected]>
* Copyright (C) 2009 Zhang Le <[email protected]>
Expand All @@ -13,8 +10,8 @@
* loongson2f user manual.
*/

#ifndef __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H
#ifndef __ASM_MACH_LOONGSON2EF_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_LOONGSON2EF_CPU_FEATURE_OVERRIDES_H

#define cpu_has_32fpr 1
#define cpu_has_3k_cache 0
Expand Down Expand Up @@ -44,10 +41,4 @@
#define cpu_has_vtag_icache 0
#define cpu_has_watch 1

#ifdef CONFIG_CPU_LOONGSON64
#define cpu_has_wsbh 1
#define cpu_has_ic_fills_f_dc 1
#define cpu_hwrena_impl_bits 0xc0000000
#endif

#endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */
44 changes: 0 additions & 44 deletions arch/mips/include/asm/mach-loongson2ef/irq.h

This file was deleted.

90 changes: 0 additions & 90 deletions arch/mips/include/asm/mach-loongson2ef/kernel-entry-init.h

This file was deleted.

Loading

0 comments on commit 5831fdb

Please sign in to comment.