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