]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/fsl: Remove FSL_SOC dependency from FSL_LBC
authorScott Wood <oss@buserror.net>
Tue, 8 Mar 2016 23:30:36 +0000 (17:30 -0600)
committerScott Wood <oss@buserror.net>
Mon, 16 May 2016 22:39:00 +0000 (17:39 -0500)
This dependency led to kconfig errors when MTD_NAND_FSL_ELBC was
enabled, which selects FSL_LBC, in the absence of FSL_SOC, as reported
in http://patchwork.ozlabs.org/patch/564405/

It was originally suggested to add an FSL_SOC dependency to
MTD_NAND_FSL_ELBC, but the FSL_SOC symbol has been a growing problem
due to hardware being shared between PPC and ARM SoCs.  Even though
eLBC isn't found on ARM SoCs (the newer IFC is used instead), I don't
want to expand the use of FSL_SOC for things other than functions
exported by fsl_soc.c.  In particular, it would be odd to add it to
MTD_NAND_FSL_ELBC and then remove it from MTD_NAND_FSL_IFC.

Removing artificial dependencies also helps get compile-test exposure
via randconfig, allyesconfig, etc.

Reported-by: Brian Norris <computersforpeace@gmail.com>
Cc: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/Kconfig

index a630ac29522ccff546b85af1fbf2839569bc0f9e..7268d3230974e09c529efc734d86d2b7d4411a6f 100644 (file)
@@ -797,7 +797,6 @@ config 4xx_SOC
 
 config FSL_LBC
        bool "Freescale Local Bus support"
-       depends on FSL_SOC
        help
          Enables reporting of errors from the Freescale local bus
          controller.  Also contains some common code used by