提交 8ea126bc 编写于 作者: R Raghav Dogra 提交者: Brian Norris

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: NRaghav Dogra <raghav.dogra@nxp.com>
Acked-by: NScott Wood <oss@buserror.net>
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
上级 06586204
...@@ -104,7 +104,7 @@ config FSL_CORENET_CF ...@@ -104,7 +104,7 @@ config FSL_CORENET_CF
config FSL_IFC config FSL_IFC
bool bool
depends on FSL_SOC depends on FSL_SOC || ARCH_LAYERSCAPE
config JZ4780_NEMC config JZ4780_NEMC
bool "Ingenic JZ4780 SoC NEMC driver" bool "Ingenic JZ4780 SoC NEMC driver"
......
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
#include <linux/of_device.h> #include <linux/of_device.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/fsl_ifc.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; struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev;
EXPORT_SYMBOL(fsl_ifc_ctrl_dev); EXPORT_SYMBOL(fsl_ifc_ctrl_dev);
......
...@@ -438,7 +438,7 @@ config MTD_NAND_FSL_ELBC ...@@ -438,7 +438,7 @@ config MTD_NAND_FSL_ELBC
config MTD_NAND_FSL_IFC config MTD_NAND_FSL_IFC
tristate "NAND support for Freescale IFC controller" 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 FSL_IFC
select MEMORY select MEMORY
help help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册