Commit | Line | Data |
---|---|---|
5ab5fc7e GL |
1 | config DTC |
2 | bool | |
3 | ||
bcbefae2 SR |
4 | config OF |
5 | bool | |
6 | ||
3cfc535c | 7 | menu "Device Tree and Open Firmware support" |
5ab5fc7e GL |
8 | depends on OF |
9 | ||
ef2a4524 AS |
10 | config 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 |
18 | config 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 |
27 | config OF_FLATTREE |
28 | bool | |
5ab5fc7e | 29 | select DTC |
e169cfbe | 30 | |
e6ce1324 SN |
31 | config OF_EARLY_FLATTREE |
32 | bool | |
33 | select OF_FLATTREE | |
34 | ||
3cfc535c AS |
35 | config OF_PROMTREE |
36 | bool | |
37 | ||
0f22dd39 GL |
38 | # Hardly any platforms need this. It is safe to select, but only do so if you |
39 | # need it. | |
fcdeb7fe | 40 | config OF_DYNAMIC |
0f22dd39 | 41 | bool |
fcdeb7fe | 42 | |
6b884a8d GL |
43 | config OF_ADDRESS |
44 | def_bool y | |
5ab5fc7e | 45 | depends on !SPARC |
6b884a8d | 46 | |
e3873444 GL |
47 | config OF_IRQ |
48 | def_bool y | |
5ab5fc7e | 49 | depends on !SPARC |
e3873444 | 50 | |
f85ff305 SR |
51 | config OF_DEVICE |
52 | def_bool y | |
863fbf49 AV |
53 | |
54 | config OF_GPIO | |
55 | def_bool y | |
5ab5fc7e | 56 | depends on GPIOLIB && !SPARC |
863fbf49 AV |
57 | help |
58 | OpenFirmware GPIO accessors | |
612212a3 JF |
59 | |
60 | config OF_I2C | |
585468e5 | 61 | def_tristate I2C |
5ab5fc7e | 62 | depends on I2C && !SPARC |
612212a3 JF |
63 | help |
64 | OpenFirmware I2C accessors | |
284b0189 | 65 | |
4b6ba8aa DD |
66 | config OF_NET |
67 | depends on NETDEVICES | |
68 | def_bool y | |
69 | ||
284b0189 GL |
70 | config OF_SPI |
71 | def_tristate SPI | |
5ab5fc7e | 72 | depends on SPI && !SPARC |
284b0189 GL |
73 | help |
74 | OpenFirmware SPI accessors | |
8bc487d1 GL |
75 | |
76 | config OF_MDIO | |
77 | def_tristate PHYLIB | |
5ab5fc7e | 78 | depends on PHYLIB |
8bc487d1 GL |
79 | help |
80 | OpenFirmware MDIO bus (Ethernet PHY) accessors | |
5ab5fc7e | 81 | |
04bea68b SAS |
82 | config OF_PCI |
83 | def_tristate PCI | |
98d9f30c | 84 | depends on PCI |
04bea68b SAS |
85 | help |
86 | OpenFirmware PCI bus accessors | |
87 | ||
98d9f30c BH |
88 | config OF_PCI_IRQ |
89 | def_tristate PCI | |
90 | depends on OF_PCI && OF_IRQ | |
91 | help | |
92 | OpenFirmware PCI IRQ routing helpers | |
93 | ||
5ab5fc7e | 94 | endmenu # OF |