소스 검색

kernel: add basic nfc support

Waldemar Brodkorb 8 년 전
부모
커밋
2a0ec4d53e
2개의 변경된 파일38개의 추가작업 그리고 0개의 파일을 삭제
  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
+