Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 107896c5 authored by Andrey Smirnov's avatar Andrey Smirnov Committed by Boris Brezillon
Browse files

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: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent d45bc58d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -428,7 +428,7 @@ config MTD_NAND_ORION


config MTD_NAND_FSL_ELBC
config MTD_NAND_FSL_ELBC
	tristate "NAND support for Freescale eLBC controllers"
	tristate "NAND support for Freescale eLBC controllers"
	depends on PPC
	depends on FSL_SOC
	select FSL_LBC
	select FSL_LBC
	help
	help
	  Various Freescale chips, including the 8313, include a NAND Flash
	  Various Freescale chips, including the 8313, include a NAND Flash