Kconfig: nand: Make MTD_NAND_FSL_ELBC depend on FSL_SOC
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Oct 8 21:59:01 PDT 2016
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=107896c5889a3f1dc7d985d6a0fdb3a1c0e6e047
Commit: 107896c5889a3f1dc7d985d6a0fdb3a1c0e6e047
Parent: d45bc58dd3bdcaabc1d7d8d9b0b8dee826635cc6
Author: Andrey Smirnov <andrew.smirnov at gmail.com>
AuthorDate: Thu Jul 21 14:59:18 2016 -0700
Committer: Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Fri Sep 23 09:35:16 2016 +0200
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 at gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
drivers/mtd/nand/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 21ff580..da23ca8 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -428,7 +428,7 @@ config MTD_NAND_ORION
config MTD_NAND_FSL_ELBC
tristate "NAND support for Freescale eLBC controllers"
- depends on PPC
+ depends on FSL_SOC
select FSL_LBC
help
Various Freescale chips, including the 8313, include a NAND Flash
More information about the linux-mtd-cvs
mailing list