Skip to content

Commit

Permalink
MIPS: Netlogic: Use CPU_XLR instead of NLM_XLR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jayachandran C authored and Ralf Baechle committed Dec 7, 2011
1 parent faabeb9 commit c3c8cfb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,6 @@ config NLM_XLR_BOARD
depends on EXPERIMENTAL
select BOOT_ELF32
select NLM_COMMON
select NLM_XLR
select SYS_HAS_CPU_XLR
select SYS_SUPPORTS_SMP
select HW_HAS_PCI
Expand Down
3 changes: 0 additions & 3 deletions arch/mips/netlogic/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
config NLM_COMMON
bool

config NLM_XLR
bool
4 changes: 2 additions & 2 deletions arch/mips/netlogic/Platform
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ cflags-$(CONFIG_NLM_COMMON) += -I$(srctree)/arch/mips/include/asm/netlogic
#
# use mips64 if xlr is not available
#
cflags-$(CONFIG_NLM_XLR) += $(call cc-option,-march=xlr,-march=mips64)
cflags-$(CONFIG_CPU_XLR) += $(call cc-option,-march=xlr,-march=mips64)

#
# NETLOGIC processor support
#
platform-$(CONFIG_NLM_XLR) += netlogic/xlr
platform-$(CONFIG_CPU_XLR) += netlogic/xlr
load-$(CONFIG_NLM_COMMON) += 0xffffffff80100000
2 changes: 1 addition & 1 deletion arch/mips/pci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
obj-$(CONFIG_CPU_CAVIUM_OCTEON) += pci-octeon.o pcie-octeon.o
obj-$(CONFIG_NLM_XLR) += pci-xlr.o
obj-$(CONFIG_CPU_XLR) += pci-xlr.o

ifdef CONFIG_PCI_MSI
obj-$(CONFIG_CPU_CAVIUM_OCTEON) += msi-octeon.o
Expand Down

0 comments on commit c3c8cfb

Please sign in to comment.