of: introduce helper to manage boolean
[deliverable/linux.git] / drivers / of / Kconfig
CommitLineData
5ab5fc7e
GL
1config DTC
2 bool
3
bcbefae2
SR
4config OF
5 bool
6
3cfc535c 7menu "Device Tree and Open Firmware support"
5ab5fc7e
GL
8 depends on OF
9
ef2a4524
AS
10config PROC_DEVICETREE
11 bool "Support for device tree in /proc"
12 depends on PROC_FS && !SPARC
13 help
14 This option adds a device-tree directory under /proc which contains
15 an image of the device tree that the kernel copies from Open
16 Firmware or other boot firmware. If unsure, say Y here.
17
53a42093
GL
18config OF_SELFTEST
19 bool "Device Tree Runtime self tests"
20 help
21 This option builds in test cases for the device tree infrastructure
22 that are executed one at boot time, and the results dumped to the
23 console.
24
25 If unsure, say N here, but this option is safe to enable.
26
e169cfbe
GL
27config OF_FLATTREE
28 bool
5ab5fc7e 29 select DTC
e169cfbe 30
e6ce1324
SN
31config OF_EARLY_FLATTREE
32 bool
33 select OF_FLATTREE
34
3cfc535c
AS
35config OF_PROMTREE
36 bool
37
fcdeb7fe
GL
38config OF_DYNAMIC
39 def_bool y
5ab5fc7e 40 depends on PPC_OF
fcdeb7fe 41
6b884a8d
GL
42config OF_ADDRESS
43 def_bool y
5ab5fc7e 44 depends on !SPARC
6b884a8d 45
e3873444
GL
46config OF_IRQ
47 def_bool y
5ab5fc7e 48 depends on !SPARC
e3873444 49
f85ff305
SR
50config OF_DEVICE
51 def_bool y
863fbf49
AV
52
53config OF_GPIO
54 def_bool y
5ab5fc7e 55 depends on GPIOLIB && !SPARC
863fbf49
AV
56 help
57 OpenFirmware GPIO accessors
612212a3
JF
58
59config OF_I2C
585468e5 60 def_tristate I2C
5ab5fc7e 61 depends on I2C && !SPARC
612212a3
JF
62 help
63 OpenFirmware I2C accessors
284b0189 64
4b6ba8aa
DD
65config OF_NET
66 depends on NETDEVICES
67 def_bool y
68
284b0189
GL
69config OF_SPI
70 def_tristate SPI
5ab5fc7e 71 depends on SPI && !SPARC
284b0189
GL
72 help
73 OpenFirmware SPI accessors
8bc487d1
GL
74
75config OF_MDIO
76 def_tristate PHYLIB
5ab5fc7e 77 depends on PHYLIB
8bc487d1
GL
78 help
79 OpenFirmware MDIO bus (Ethernet PHY) accessors
5ab5fc7e 80
04bea68b
SAS
81config OF_PCI
82 def_tristate PCI
98d9f30c 83 depends on PCI
04bea68b
SAS
84 help
85 OpenFirmware PCI bus accessors
86
98d9f30c
BH
87config OF_PCI_IRQ
88 def_tristate PCI
89 depends on OF_PCI && OF_IRQ
90 help
91 OpenFirmware PCI IRQ routing helpers
92
5ab5fc7e 93endmenu # OF
This page took 0.547748 seconds and 5 git commands to generate.