Parcourir la source

kernel: add basic nfc support

Waldemar Brodkorb il y a 9 ans
Parent
commit
2a0ec4d53e
2 fichiers modifiés avec 38 ajouts et 0 suppressions
  1. 1 0
      target/linux/Config.in
  2. 37 0
      target/linux/config/Config.in.nfc

+ 1 - 0
target/linux/Config.in

@@ -14,6 +14,7 @@ source target/linux/config/Config.in.graphics
 source target/linux/config/Config.in.input
 source target/linux/config/Config.in.pcmcia
 source target/linux/config/Config.in.network
+source target/linux/config/Config.in.nfc
 source target/linux/config/Config.in.netfilter
 source target/linux/config/Config.in.audio
 source target/linux/config/Config.in.multimedia

+ 37 - 0
target/linux/config/Config.in.nfc

@@ -0,0 +1,37 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+menu "NFC devices support"
+
+config ADK_KERNEL_NFC
+	bool
+
+config ADK_KERNEL_NFC_DIGITAL
+	bool
+
+config ADK_KERNEL_NFC_HCI
+	bool
+
+config ADK_KERNEL_NFC_NCI
+	bool
+
+config ADK_KERNEL_NFC_NCI_SPI
+	bool
+
+config ADK_KERNEL_NFC_SHDLC
+	bool
+
+config ADK_KERNEL_NFC_PN533
+	tristate "PN533 USB chip"
+	select ADK_KERNEL_NFC
+	select ADK_KERNEL_NFC_DIGITAL
+	select ADK_KERNEL_NFC_HCI
+	select ADK_KERNEL_NFC_NCI
+	select ADK_KERNEL_NFC_NCI_SPI
+	select ADK_KERNEL_NFC_SHDLC
+	default n
+	help
+	  Driver for PN533 USB chip.
+
+endmenu
+