Kconfig: nand: Make MTD_NAND_FSL_ELBC depend on FSL_SOC
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Thu, 21 Jul 2016 21:59:18 +0000 (14:59 -0700)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 23 Sep 2016 07:35:16 +0000 (09:35 +0200)
commit107896c5889a3f1dc7d985d6a0fdb3a1c0e6e047
tree15bfdac052ca626c09ecface778911458aa916ca
parentd45bc58dd3bdcaabc1d7d8d9b0b8dee826635cc6
Kconfig: nand: Make MTD_NAND_FSL_ELBC depend on FSL_SOC

MTD_NAND_FSL_ELBC selects FSL_LBC that in turn depends on FSL_SOC, so
depending on PPC instead of FSL_SOC leads to this message:

  warning: (MPC836x_RDK && MTD_NAND_FSL_ELBC &&
  MTD_NAND_FSL_UPM) selects FSL_LBC which has unmet direct
  dependencies (FSL_SOC)

when doing

  make ARCH=powerpc \
       CROSS_COMPILE=powerpc-e500v2-linux-gnuspe- \
       allmodconfig"

Changing dependency to FSL_SOC fixes that.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/Kconfig