of: introduce helper to manage boolean
[deliverable/linux.git] / drivers / of / Kconfig
... / ...
CommitLineData
1config DTC
2 bool
3
4config OF
5 bool
6
7menu "Device Tree and Open Firmware support"
8 depends on OF
9
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
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
27config OF_FLATTREE
28 bool
29 select DTC
30
31config OF_EARLY_FLATTREE
32 bool
33 select OF_FLATTREE
34
35config OF_PROMTREE
36 bool
37
38config OF_DYNAMIC
39 def_bool y
40 depends on PPC_OF
41
42config OF_ADDRESS
43 def_bool y
44 depends on !SPARC
45
46config OF_IRQ
47 def_bool y
48 depends on !SPARC
49
50config OF_DEVICE
51 def_bool y
52
53config OF_GPIO
54 def_bool y
55 depends on GPIOLIB && !SPARC
56 help
57 OpenFirmware GPIO accessors
58
59config OF_I2C
60 def_tristate I2C
61 depends on I2C && !SPARC
62 help
63 OpenFirmware I2C accessors
64
65config OF_NET
66 depends on NETDEVICES
67 def_bool y
68
69config OF_SPI
70 def_tristate SPI
71 depends on SPI && !SPARC
72 help
73 OpenFirmware SPI accessors
74
75config OF_MDIO
76 def_tristate PHYLIB
77 depends on PHYLIB
78 help
79 OpenFirmware MDIO bus (Ethernet PHY) accessors
80
81config OF_PCI
82 def_tristate PCI
83 depends on PCI
84 help
85 OpenFirmware PCI bus accessors
86
87config OF_PCI_IRQ
88 def_tristate PCI
89 depends on OF_PCI && OF_IRQ
90 help
91 OpenFirmware PCI IRQ routing helpers
92
93endmenu # OF
This page took 0.027514 seconds and 5 git commands to generate.