of: Increase MAX_PHANDLE_ARGS
[linux-block.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"
f5ae18ec 20 depends on OF_IRQ
53a42093
GL
21 help
22 This option builds in test cases for the device tree infrastructure
5d927086 23 that are executed once at boot time, and the results dumped to the
53a42093
GL
24 console.
25
26 If unsure, say N here, but this option is safe to enable.
27
e169cfbe
GL
28config OF_FLATTREE
29 bool
5ab5fc7e 30 select DTC
e169cfbe 31
e6ce1324
SN
32config OF_EARLY_FLATTREE
33 bool
34 select OF_FLATTREE
35
3cfc535c
AS
36config OF_PROMTREE
37 bool
38
0f22dd39
GL
39# Hardly any platforms need this. It is safe to select, but only do so if you
40# need it.
fcdeb7fe 41config OF_DYNAMIC
0f22dd39 42 bool
fcdeb7fe 43
6b884a8d
GL
44config OF_ADDRESS
45 def_bool y
5ab5fc7e 46 depends on !SPARC
6b884a8d 47
e3873444
GL
48config OF_IRQ
49 def_bool y
5ab5fc7e 50 depends on !SPARC
e3873444 51
4b6ba8aa
DD
52config OF_NET
53 depends on NETDEVICES
54 def_bool y
55
8bc487d1
GL
56config OF_MDIO
57 def_tristate PHYLIB
5ab5fc7e 58 depends on PHYLIB
8bc487d1
GL
59 help
60 OpenFirmware MDIO bus (Ethernet PHY) accessors
5ab5fc7e 61
04bea68b
SAS
62config OF_PCI
63 def_tristate PCI
98d9f30c 64 depends on PCI
04bea68b
SAS
65 help
66 OpenFirmware PCI bus accessors
67
98d9f30c
BH
68config OF_PCI_IRQ
69 def_tristate PCI
70 depends on OF_PCI && OF_IRQ
71 help
72 OpenFirmware PCI IRQ routing helpers
73
770d7c39
JCPV
74config OF_MTD
75 depends on MTD
76 def_bool y
77
5ab5fc7e 78endmenu # OF