Skip to contentSkip to conversation

MIPS: Octeon: Unconditionally build __cvmx_helper_errata_qlm_disable_2nd_order_cdr

PATCH In review David Daney 2 participants 2 messages Nov 16, 2011 – Nov 17, 2011 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Octeon: Unconditionally build __cvmx_helper_errata_qlm_disable_2nd_order_cdr

From: David Daney <[email protected]>

It is needed in !OCTEON_ETHERNET and !PCI too. Since most people will probably have both of these defined in any real configuration, there is not really any size bloat from doing this.

---
 arch/mips/cavium-octeon/Kconfig            |    4 ----
 arch/mips/cavium-octeon/executive/Makefile |    2 +-
 2 files changed, 1 insertions(+), 5 deletions(-)
arch/mips/cavium-octeon/Kconfig +0 -4
index cad555e..f9e275a 100644
@@ -86,10 +86,6 @@ config ARCH_SPARSEMEM_ENABLE
 	def_bool y
 	select SPARSEMEM_STATIC
 
-config CAVIUM_OCTEON_HELPER
-	def_bool y
-	depends on OCTEON_ETHERNET || PCI
-
 config IOMMU_HELPER
 	bool
 
arch/mips/cavium-octeon/executive/Makefile +1 -1
index eec0b88..b6d6e84 100644
@@ -16,4 +16,4 @@ obj-y += cvmx-pko.o cvmx-spi.o cvmx-cmd-queue.o \
 	cvmx-helper-loop.o cvmx-helper-spi.o cvmx-helper-util.o \
 	cvmx-interrupt-decodes.o cvmx-interrupt-rsl.o
 
-obj-$(CONFIG_CAVIUM_OCTEON_HELPER) += cvmx-helper-errata.o cvmx-helper-jtag.o
+obj-y += cvmx-helper-errata.o cvmx-helper-jtag.o
Signature · 1 line
1.7.2.3
#1 lore raw
Quoted 11 lines · David Daney

From: David Daney <[email protected]>

It is needed in !OCTEON_ETHERNET and !PCI too. Since most people will probably have both of these defined in any real configuration, there is not really any size bloat from doing this.

---
 arch/mips/cavium-octeon/Kconfig            |    4 ----
 arch/mips/cavium-octeon/executive/Makefile |    2 +-
 2 files changed, 1 insertions(+), 5 deletions(-)

Thanks, folded into "MIPS: Octeon: Move some Ethernet support files out of staging."

Ralf