On Mon, 20 Apr 2020 12:18:34 +0800
"Ramuthevar, Vadivel MuruganX"
<vadivel.muruganx.ramuthevar@xxxxxxxxxxxxxxx> wrote:
Given that the driver will also be used on a MIPS platform I would sayyes Boris, we have hard dependency on x86.diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/KconfigDo we have a hard dependency on x86 here? Maybe 'depends on HAS_MMIO'
index a80a46bb5b8b..9efc4bbaf4a3 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -457,6 +457,13 @@ config MTD_NAND_CADENCE
Enable the driver for NAND flash on platforms using a Cadence NAND
controller.
+config MTD_NAND_INTEL_LGM
+ tristate "Support for NAND controller on Intel LGM SoC"
+ depends on X86
would be enough.
no :P. Just to be clear, I was suggesting to replace the soon to emerge
depends on X86 || MIPS || COMPILE_TEST
depends HAS_IOMEM
rule by
depends on OF || COMPILE_TEST
depends HAS_IOMEM