Skip to content

Commit 1bdb7b7

Browse files
FlyGoatpaulburton
authored andcommitted
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
1 parent 5831fdb commit 1bdb7b7

35 files changed

Lines changed: 34 additions & 1543 deletions

‎arch/mips/include/asm/bootinfo.h‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
/*
6262
* Valid machtype for Loongson family
6363
*/
64-
enum loongson_machine_type {
64+
enum loongson2ef_machine_type {
6565
MACH_LOONGSON_UNKNOWN,
6666
MACH_LEMOTE_FL2E,
6767
MACH_LEMOTE_FL2F,
@@ -70,7 +70,6 @@ enum loongson_machine_type {
7070
MACH_DEXXON_GDIUM2F10,
7171
MACH_LEMOTE_NAS,
7272
MACH_LEMOTE_LL2F,
73-
MACH_LOONGSON_GENERIC,
7473
MACH_LOONGSON_END
7574
};
7675

‎arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@
4444
#define cpu_has_vtag_icache 0
4545
#define cpu_has_watch 1
4646

47-
#ifdef CONFIG_CPU_LOONGSON64
4847
#define cpu_has_wsbh 1
4948
#define cpu_has_ic_fills_f_dc 1
5049
#define cpu_hwrena_impl_bits 0xc0000000
51-
#endif
5250

5351
#endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */

‎arch/mips/include/asm/mach-loongson64/cs5536/cs5536.h‎

Lines changed: 0 additions & 306 deletions
This file was deleted.

‎arch/mips/include/asm/mach-loongson64/cs5536/cs5536_mfgpt.h‎

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)