Skip to content

Commit 95b8a5e

Browse files
committed
MIPS: Remove NETLOGIC support
No (active) developer owns this hardware, so let's remove Linux support. Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 626bfa0 commit 95b8a5e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+6
-11559
lines changed

arch/mips/Kbuild.platforms

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ platform-$(CONFIG_MACH_LOONGSON32) += loongson32/
1919
platform-$(CONFIG_MACH_LOONGSON64) += loongson64/
2020
platform-$(CONFIG_MIPS_MALTA) += mti-malta/
2121
platform-$(CONFIG_MACH_NINTENDO64) += n64/
22-
platform-$(CONFIG_NLM_COMMON) += netlogic/
2322
platform-$(CONFIG_PIC32MZDA) += pic32/
2423
platform-$(CONFIG_RALINK) += ralink/
2524
platform-$(CONFIG_MIKROTIK_RB532) += rb532/

arch/mips/Kconfig

Lines changed: 2 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -994,60 +994,6 @@ config CAVIUM_OCTEON_SOC
994994
Hikari
995995
Say Y here for most Octeon reference boards.
996996

997-
config NLM_XLR_BOARD
998-
bool "Netlogic XLR/XLS based systems"
999-
select BOOT_ELF32
1000-
select NLM_COMMON
1001-
select SYS_HAS_CPU_XLR
1002-
select SYS_SUPPORTS_SMP
1003-
select HAVE_PCI
1004-
select SWAP_IO_SPACE
1005-
select SYS_SUPPORTS_32BIT_KERNEL
1006-
select SYS_SUPPORTS_64BIT_KERNEL
1007-
select PHYS_ADDR_T_64BIT
1008-
select SYS_SUPPORTS_BIG_ENDIAN
1009-
select SYS_SUPPORTS_HIGHMEM
1010-
select NR_CPUS_DEFAULT_32
1011-
select CEVT_R4K
1012-
select CSRC_R4K
1013-
select IRQ_MIPS_CPU
1014-
select ZONE_DMA32 if 64BIT
1015-
select SYNC_R4K
1016-
select SYS_HAS_EARLY_PRINTK
1017-
select SYS_SUPPORTS_ZBOOT
1018-
select SYS_SUPPORTS_ZBOOT_UART16550
1019-
help
1020-
Support for systems based on Netlogic XLR and XLS processors.
1021-
Say Y here if you have a XLR or XLS based board.
1022-
1023-
config NLM_XLP_BOARD
1024-
bool "Netlogic XLP based systems"
1025-
select BOOT_ELF32
1026-
select NLM_COMMON
1027-
select SYS_HAS_CPU_XLP
1028-
select SYS_SUPPORTS_SMP
1029-
select HAVE_PCI
1030-
select SYS_SUPPORTS_32BIT_KERNEL
1031-
select SYS_SUPPORTS_64BIT_KERNEL
1032-
select PHYS_ADDR_T_64BIT
1033-
select GPIOLIB
1034-
select SYS_SUPPORTS_BIG_ENDIAN
1035-
select SYS_SUPPORTS_LITTLE_ENDIAN
1036-
select SYS_SUPPORTS_HIGHMEM
1037-
select NR_CPUS_DEFAULT_32
1038-
select CEVT_R4K
1039-
select CSRC_R4K
1040-
select IRQ_MIPS_CPU
1041-
select ZONE_DMA32 if 64BIT
1042-
select SYNC_R4K
1043-
select SYS_HAS_EARLY_PRINTK
1044-
select USE_OF
1045-
select SYS_SUPPORTS_ZBOOT
1046-
select SYS_SUPPORTS_ZBOOT_UART16550
1047-
help
1048-
This board is based on Netlogic XLP Processor.
1049-
Say Y here if you have a XLP based board.
1050-
1051997
endchoice
1052998

1053999
source "arch/mips/alchemy/Kconfig"
@@ -1070,7 +1016,6 @@ source "arch/mips/cavium-octeon/Kconfig"
10701016
source "arch/mips/loongson2ef/Kconfig"
10711017
source "arch/mips/loongson32/Kconfig"
10721018
source "arch/mips/loongson64/Kconfig"
1073-
source "arch/mips/netlogic/Kconfig"
10741019

10751020
endmenu
10761021

@@ -1786,32 +1731,6 @@ config CPU_BMIPS
17861731
help
17871732
Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
17881733

1789-
config CPU_XLR
1790-
bool "Netlogic XLR SoC"
1791-
depends on SYS_HAS_CPU_XLR
1792-
select CPU_SUPPORTS_32BIT_KERNEL
1793-
select CPU_SUPPORTS_64BIT_KERNEL
1794-
select CPU_SUPPORTS_HIGHMEM
1795-
select CPU_SUPPORTS_HUGEPAGES
1796-
select WEAK_ORDERING
1797-
select WEAK_REORDERING_BEYOND_LLSC
1798-
help
1799-
Netlogic Microsystems XLR/XLS processors.
1800-
1801-
config CPU_XLP
1802-
bool "Netlogic XLP SoC"
1803-
depends on SYS_HAS_CPU_XLP
1804-
select CPU_SUPPORTS_32BIT_KERNEL
1805-
select CPU_SUPPORTS_64BIT_KERNEL
1806-
select CPU_SUPPORTS_HIGHMEM
1807-
select WEAK_ORDERING
1808-
select WEAK_REORDERING_BEYOND_LLSC
1809-
select CPU_HAS_PREFETCH
1810-
select CPU_MIPSR2
1811-
select CPU_SUPPORTS_HUGEPAGES
1812-
select MIPS_ASID_BITS_VARIABLE
1813-
help
1814-
Netlogic Microsystems XLP processors.
18151734
endchoice
18161735

18171736
config CPU_MIPS32_3_5_FEATURES
@@ -2058,12 +1977,6 @@ config SYS_HAS_CPU_BMIPS5000
20581977
select SYS_HAS_CPU_BMIPS
20591978
select ARCH_HAS_SYNC_DMA_FOR_CPU
20601979

2061-
config SYS_HAS_CPU_XLR
2062-
bool
2063-
2064-
config SYS_HAS_CPU_XLP
2065-
bool
2066-
20671980
#
20681981
# CPU may reorder R->R, R->W, W->R, W->W
20691982
# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
@@ -2158,7 +2071,7 @@ config CPU_SUPPORTS_HUGEPAGES
21582071
config MIPS_PGD_C0_CONTEXT
21592072
bool
21602073
depends on 64BIT
2161-
default y if (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP
2074+
default y if (CPU_MIPSR2 || CPU_MIPSR6)
21622075

21632076
#
21642077
# Set to y for ptrace access to watch registers.
@@ -2841,7 +2754,7 @@ config NODES_SHIFT
28412754

28422755
config HW_PERF_EVENTS
28432756
bool "Enable hardware performance counter support for perf events"
2844-
depends on PERF_EVENTS && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON64)
2757+
depends on PERF_EVENTS && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_LOONGSON64)
28452758
default y
28462759
help
28472760
Enable hardware performance counter support for perf events. If

arch/mips/boot/compressed/uart-16550.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@
2323
#define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset))
2424
#endif
2525

26-
#ifdef CONFIG_CPU_XLR
27-
#define UART0_BASE 0x1EF14000
28-
#define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset))
29-
#define IOTYPE unsigned int
30-
#endif
31-
32-
#ifdef CONFIG_CPU_XLP
33-
#define UART0_BASE 0x18030100
34-
#define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset))
35-
#define IOTYPE unsigned int
36-
#endif
37-
3826
#ifndef IOTYPE
3927
#define IOTYPE char
4028
#endif

arch/mips/boot/dts/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ subdir-$(CONFIG_MACH_LOONGSON64) += loongson
99
subdir-$(CONFIG_SOC_VCOREIII) += mscc
1010
subdir-$(CONFIG_MIPS_MALTA) += mti
1111
subdir-$(CONFIG_LEGACY_BOARD_SEAD3) += mti
12-
subdir-$(CONFIG_NLM_XLP_BOARD) += netlogic
1312
subdir-$(CONFIG_FIT_IMAGE_FDT_NI169445) += ni
1413
subdir-$(CONFIG_MACH_PIC32) += pic32
1514
subdir-$(CONFIG_ATH79) += qca

arch/mips/boot/dts/netlogic/Makefile

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

arch/mips/boot/dts/netlogic/xlp_evp.dts

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

0 commit comments

Comments
 (0)