EDAC, altera: Make L2C depend on L2x0 cache controller
authorThor Thayer <tthayer@opensource.altera.com>
Mon, 21 Mar 2016 16:01:38 +0000 (11:01 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 29 Mar 2016 08:06:11 +0000 (10:06 +0200)
Make L2 cache depend instead of forcibly select the L2 cache support.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@opensource.altera.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux@arm.linux.org.uk
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1458576106-24505-2-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/Kconfig

index 37755e63cc289fccc2746ec127193baa854f2dc0..6ca7474baf4aec4990c7e03d2df71289ca4940b7 100644 (file)
@@ -378,12 +378,11 @@ config EDAC_ALTERA
 
 config EDAC_ALTERA_L2C
        bool "Altera L2 Cache ECC"
-       depends on EDAC_ALTERA=y
-       select CACHE_L2X0
+       depends on EDAC_ALTERA=y && CACHE_L2X0
        help
          Support for error detection and correction on the
          Altera L2 cache Memory for Altera SoCs. This option
-         requires L2 cache so it will force that selection.
+         requires L2 cache.
 
 config EDAC_ALTERA_OCRAM
        bool "Altera On-Chip RAM ECC"
This page took 0.026928 seconds and 5 git commands to generate.