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

Commit 8ea126bc authored by Raghav Dogra's avatar Raghav Dogra Committed by Brian Norris
Browse files

memory: Update dependency of IFC for Layerscape



This patch enables IFC NAND support on ARM layerscape platform.
It fixes the dependency to enable NAND. The include files are being modified
to ensure complilation for both PowerPC and ARM architectures.

Signed-off-by: default avatarRaghav Dogra <raghav.dogra@nxp.com>
Acked-by: default avatarScott Wood <oss@buserror.net>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 06586204
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ config FSL_CORENET_CF

config FSL_IFC
	bool
	depends on FSL_SOC
	depends on FSL_SOC || ARCH_LAYERSCAPE

config JZ4780_NEMC
	bool "Ingenic JZ4780 SoC NEMC driver"
+3 −1
Original line number Diff line number Diff line
@@ -31,7 +31,9 @@
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/fsl_ifc.h>
#include <asm/prom.h>
#include <linux/irqdomain.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>

struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev;
EXPORT_SYMBOL(fsl_ifc_ctrl_dev);
+1 −1
Original line number Diff line number Diff line
@@ -438,7 +438,7 @@ config MTD_NAND_FSL_ELBC

config MTD_NAND_FSL_IFC
	tristate "NAND support for Freescale IFC controller"
	depends on MTD_NAND && FSL_SOC
	depends on MTD_NAND && (FSL_SOC || ARCH_LAYERSCAPE)
	select FSL_IFC
	select MEMORY
	help