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 | ||
19fd7487 GL |
10 | config OF_UNITTEST |
11 | bool "Device Tree runtime unit tests" | |
32147e9a | 12 | depends on OF_IRQ && OF_EARLY_FLATTREE |
2eb46da2 | 13 | select OF_RESOLVE |
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 |
08d53aa5 | 25 | select CRC32 |
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 |
121c92ca GU |
37 | bool "Support for dynamic device trees" if OF_UNITTEST |
38 | help | |
39 | On some platforms, the device tree can be manipulated at runtime. | |
40 | While this option is selected automatically on such platforms, you | |
41 | can enable it manually to improve device tree unit test coverage. | |
fcdeb7fe | 42 | |
6b884a8d GL |
43 | config OF_ADDRESS |
44 | def_bool y | |
5ab5fc7e | 45 | depends on !SPARC |
25a31579 GC |
46 | select OF_ADDRESS_PCI if PCI |
47 | ||
48 | config OF_ADDRESS_PCI | |
49 | bool | |
6b884a8d | 50 | |
e3873444 GL |
51 | config OF_IRQ |
52 | def_bool y | |
5ab5fc7e | 53 | depends on !SPARC |
e3873444 | 54 | |
4b6ba8aa DD |
55 | config OF_NET |
56 | depends on NETDEVICES | |
57 | def_bool y | |
58 | ||
8bc487d1 GL |
59 | config OF_MDIO |
60 | def_tristate PHYLIB | |
5ab5fc7e | 61 | depends on PHYLIB |
8bc487d1 GL |
62 | help |
63 | OpenFirmware MDIO bus (Ethernet PHY) accessors | |
5ab5fc7e | 64 | |
04bea68b SAS |
65 | config OF_PCI |
66 | def_tristate PCI | |
98d9f30c | 67 | depends on PCI |
04bea68b SAS |
68 | help |
69 | OpenFirmware PCI bus accessors | |
70 | ||
98d9f30c BH |
71 | config OF_PCI_IRQ |
72 | def_tristate PCI | |
73 | depends on OF_PCI && OF_IRQ | |
74 | help | |
75 | OpenFirmware PCI IRQ routing helpers | |
76 | ||
770d7c39 JCPV |
77 | config OF_MTD |
78 | depends on MTD | |
79 | def_bool y | |
80 | ||
3f0c8206 MS |
81 | config OF_RESERVED_MEM |
82 | depends on OF_EARLY_FLATTREE | |
83 | bool | |
84 | help | |
85 | Helpers to allow for reservation of memory regions | |
86 | ||
7941b27b PA |
87 | config OF_RESOLVE |
88 | bool | |
89 | ||
7518b589 | 90 | config OF_OVERLAY |
5c776064 | 91 | bool "Device Tree overlays" |
7518b589 | 92 | select OF_DYNAMIC |
7518b589 | 93 | select OF_RESOLVE |
121c92ca GU |
94 | help |
95 | Overlays are a method to dynamically modify part of the kernel's | |
96 | device tree with dynamically loaded data. | |
97 | While this option is selected automatically when needed, you can | |
98 | enable it manually to improve device tree unit test coverage. | |
7518b589 | 99 | |
5ab5fc7e | 100 | endmenu # OF |