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 |
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 |
08d53aa5 | 26 | select CRC32 |
e169cfbe | 27 | |
e6ce1324 SN |
28 | config OF_EARLY_FLATTREE |
29 | bool | |
30 | select OF_FLATTREE | |
31 | ||
3cfc535c AS |
32 | config OF_PROMTREE |
33 | bool | |
34 | ||
0f22dd39 GL |
35 | # Hardly any platforms need this. It is safe to select, but only do so if you |
36 | # need it. | |
fcdeb7fe | 37 | config OF_DYNAMIC |
0f22dd39 | 38 | bool |
fcdeb7fe | 39 | |
6b884a8d GL |
40 | config OF_ADDRESS |
41 | def_bool y | |
5ab5fc7e | 42 | depends on !SPARC |
25a31579 GC |
43 | select OF_ADDRESS_PCI if PCI |
44 | ||
45 | config OF_ADDRESS_PCI | |
46 | bool | |
6b884a8d | 47 | |
e3873444 GL |
48 | config OF_IRQ |
49 | def_bool y | |
5ab5fc7e | 50 | depends on !SPARC |
e3873444 | 51 | |
4b6ba8aa DD |
52 | config OF_NET |
53 | depends on NETDEVICES | |
54 | def_bool y | |
55 | ||
8bc487d1 GL |
56 | config 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 |
62 | config OF_PCI |
63 | def_tristate PCI | |
98d9f30c | 64 | depends on PCI |
04bea68b SAS |
65 | help |
66 | OpenFirmware PCI bus accessors | |
67 | ||
98d9f30c BH |
68 | config 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 |
74 | config OF_MTD |
75 | depends on MTD | |
76 | def_bool y | |
77 | ||
3f0c8206 MS |
78 | config OF_RESERVED_MEM |
79 | depends on OF_EARLY_FLATTREE | |
80 | bool | |
81 | help | |
82 | Helpers to allow for reservation of memory regions | |
83 | ||
7941b27b PA |
84 | config OF_RESOLVE |
85 | bool | |
86 | ||
7518b589 PA |
87 | config OF_OVERLAY |
88 | bool | |
89 | depends on OF | |
90 | select OF_DYNAMIC | |
7518b589 PA |
91 | select OF_RESOLVE |
92 | ||
5ab5fc7e | 93 | endmenu # OF |