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