projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b35f79a
)
mtd: rawnand: ingenic: Add dependency on MIPS || COMPILE_TEST
author
Paul Cercueil
<paul@crapouillou.net>
Mon, 2 Mar 2020 18:45:09 +0000
(15:45 -0300)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Wed, 11 Mar 2020 15:17:55 +0000
(16:17 +0100)
This driver has no arch-specific instructions but is only ever useful
on MIPS; so disable this driver if we're not compiling for MIPS, unless
the driver is compile-tested.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link:
https://lore.kernel.org/linux-mtd/20200302184509.10666-1-paul@crapouillou.net
drivers/mtd/nand/raw/ingenic/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/ingenic/Kconfig
b/drivers/mtd/nand/raw/ingenic/Kconfig
index e30feb56b650128b31033b06c0c6e5943d8022ec..96c5ae8b1bbcb40ac7be5489b0c78fbf2bb5ca1c 100644
(file)
--- a/
drivers/mtd/nand/raw/ingenic/Kconfig
+++ b/
drivers/mtd/nand/raw/ingenic/Kconfig
@@
-1,6
+1,7
@@
# SPDX-License-Identifier: GPL-2.0-only
config MTD_NAND_JZ4780
tristate "JZ4780 NAND controller"
+ depends on MIPS || COMPILE_TEST
depends on JZ4780_NEMC
help
Enables support for NAND Flash connected to the NEMC on JZ4780 SoC