public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] Kconfig: Add entry for VF610 NAND NFC device tree aware driver
@ 2018-12-03  9:24 Lukasz Majewski
  2018-12-03  9:24 ` [U-Boot] [PATCH 2/2] nand: vybrid: Extend the vf610 NFC NAND driver to support device tree (and DM) Lukasz Majewski
  2018-12-03 14:03 ` [U-Boot] [PATCH 1/2] Kconfig: Add entry for VF610 NAND NFC device tree aware driver Stefan Agner
  0 siblings, 2 replies; 4+ messages in thread
From: Lukasz Majewski @ 2018-12-03  9:24 UTC (permalink / raw)
  To: u-boot

This commit provides code to add proper entry to Kconfig to enable
support for VF610 device tree aware driver.

Signed-off-by: Lukasz Majewski <lukma@denx.de>

---

 drivers/mtd/nand/raw/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 008f7b4b4b..fd1723feda 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -88,6 +88,15 @@ config NAND_VF610_NFC
 	  The driver supports a maximum 2k page size. The driver
 	  currently does not support hardware ECC.
 
+if NAND_VF610_NFC
+
+config NAND_VF610_NFC_DT
+        bool "Support Vybrid's vf610 NAND controller as a DT device"
+        depends on OF_CONTROL && MTD
+        help
+          Enable the driver for Vybrid's vf610 NAND flash on platforms
+	  using device tree.
+
 choice
 	prompt "Hardware ECC strength"
 	depends on NAND_VF610_NFC
@@ -103,6 +112,8 @@ config SYS_NAND_VF610_NFC_60_ECC_BYTES
 
 endchoice
 
+endif
+
 config NAND_PXA3XX
 	bool "Support for NAND on PXA3xx and Armada 370/XP/38x"
 	select SYS_NAND_SELF_INIT
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-03 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-03  9:24 [U-Boot] [PATCH 1/2] Kconfig: Add entry for VF610 NAND NFC device tree aware driver Lukasz Majewski
2018-12-03  9:24 ` [U-Boot] [PATCH 2/2] nand: vybrid: Extend the vf610 NFC NAND driver to support device tree (and DM) Lukasz Majewski
2018-12-03 14:03 ` [U-Boot] [PATCH 1/2] Kconfig: Add entry for VF610 NAND NFC device tree aware driver Stefan Agner
2018-12-03 14:36   ` Lukasz Majewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox