summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD2012-01-28 05:12:36 +0100
committerJean-Christophe PLAGNIOL-VILLARD2012-03-15 16:28:19 +0100
commit770d7c39af940da24dd4c2c048576d778ac0abd4 (patch)
tree7cf7f6c89bcc1a8c4db93d695b80116962df4e04 /drivers/of/Kconfig
parentof: introduce helper to manage boolean (diff)
downloadkernel-qcow2-linux-770d7c39af940da24dd4c2c048576d778ac0abd4.tar.gz
kernel-qcow2-linux-770d7c39af940da24dd4c2c048576d778ac0abd4.tar.xz
kernel-qcow2-linux-770d7c39af940da24dd4c2c048576d778ac0abd4.zip
of/mtd/nand: add generic bindings and helpers
- nand-ecc-mode : String, operation mode of the NAND ecc mode. Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first", "soft_bch". - nand-bus-width : 8 or 16 bus width if not present 8 - nand-on-flash-bbt: boolean to enable on flash bbt option if not present false Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 268163dd71c7..fa666a93540c 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -90,4 +90,8 @@ config OF_PCI_IRQ
help
OpenFirmware PCI IRQ routing helpers
+config OF_MTD
+ depends on MTD
+ def_bool y
+
endmenu # OF