Commit c3c8cfb979d1a3c514d6ef88204f05dcbd1934df

Authored by Jayachandran C
Committed by Ralf Baechle
1 parent faabeb9e57

MIPS: Netlogic: Use CPU_XLR instead of NLM_XLR

The CPU_XLR config variable is sufficient for XLR compilation, the
variable NLM_XLR can be removed.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2962/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 4 changed files with 3 additions and 7 deletions Side-by-side Diff

... ... @@ -761,7 +761,6 @@
761 761 depends on EXPERIMENTAL
762 762 select BOOT_ELF32
763 763 select NLM_COMMON
764   - select NLM_XLR
765 764 select SYS_HAS_CPU_XLR
766 765 select SYS_SUPPORTS_SMP
767 766 select HW_HAS_PCI
arch/mips/netlogic/Kconfig
1 1 config NLM_COMMON
2 2 bool
3   -
4   -config NLM_XLR
5   - bool
arch/mips/netlogic/Platform
... ... @@ -7,11 +7,11 @@
7 7 #
8 8 # use mips64 if xlr is not available
9 9 #
10   -cflags-$(CONFIG_NLM_XLR) += $(call cc-option,-march=xlr,-march=mips64)
  10 +cflags-$(CONFIG_CPU_XLR) += $(call cc-option,-march=xlr,-march=mips64)
11 11  
12 12 #
13 13 # NETLOGIC processor support
14 14 #
15   -platform-$(CONFIG_NLM_XLR) += netlogic/xlr
  15 +platform-$(CONFIG_CPU_XLR) += netlogic/xlr
16 16 load-$(CONFIG_NLM_COMMON) += 0xffffffff80100000
arch/mips/pci/Makefile
... ... @@ -55,7 +55,7 @@
55 55 obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
56 56 obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
57 57 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += pci-octeon.o pcie-octeon.o
58   -obj-$(CONFIG_NLM_XLR) += pci-xlr.o
  58 +obj-$(CONFIG_CPU_XLR) += pci-xlr.o
59 59  
60 60 ifdef CONFIG_PCI_MSI
61 61 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += msi-octeon.o