Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 1 | config DTC |
2 | bool | ||||
3 | |||||
Stephen Rothwell | bcbefae | 2010-06-29 12:45:51 +1000 | [diff] [blame] | 4 | config OF |
5 | bool | ||||
6 | |||||
Andres Salomon | 3cfc535 | 2010-10-10 21:42:33 -0600 | [diff] [blame] | 7 | menu "Device Tree and Open Firmware support" |
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 8 | depends on OF |
9 | |||||
Andres Salomon | ef2a452 | 2010-06-28 22:00:48 -0400 | [diff] [blame] | 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 | |||||
Grant Likely | 53a4209 | 2011-12-12 09:25:57 -0700 | [diff] [blame] | 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 | |||||
Grant Likely | e169cfb | 2009-11-23 14:53:09 -0700 | [diff] [blame] | 27 | config OF_FLATTREE |
28 | bool | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 29 | select DTC |
Grant Likely | e169cfb | 2009-11-23 14:53:09 -0700 | [diff] [blame] | 30 | |
Stephen Neuendorffer | e6ce132 | 2010-11-18 15:54:56 -0800 | [diff] [blame] | 31 | config OF_EARLY_FLATTREE |
32 | bool | ||||
33 | select OF_FLATTREE | ||||
34 | |||||
Andres Salomon | 3cfc535 | 2010-10-10 21:42:33 -0600 | [diff] [blame] | 35 | config OF_PROMTREE |
36 | bool | ||||
37 | |||||
Grant Likely | 0f22dd3 | 2012-02-15 20:38:40 -0700 | [diff] [blame] | 38 | # Hardly any platforms need this. It is safe to select, but only do so if you |
39 | # need it. | ||||
Grant Likely | fcdeb7f | 2010-01-29 05:04:33 -0700 | [diff] [blame] | 40 | config OF_DYNAMIC |
Grant Likely | 0f22dd3 | 2012-02-15 20:38:40 -0700 | [diff] [blame] | 41 | bool |
Grant Likely | fcdeb7f | 2010-01-29 05:04:33 -0700 | [diff] [blame] | 42 | |
Grant Likely | 6b884a8 | 2010-06-08 07:48:09 -0600 | [diff] [blame] | 43 | config OF_ADDRESS |
44 | def_bool y | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 45 | depends on !SPARC |
Grant Likely | 6b884a8 | 2010-06-08 07:48:09 -0600 | [diff] [blame] | 46 | |
Grant Likely | e387344 | 2010-06-18 11:09:59 -0600 | [diff] [blame] | 47 | config OF_IRQ |
48 | def_bool y | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 49 | depends on !SPARC |
Grant Likely | e387344 | 2010-06-18 11:09:59 -0600 | [diff] [blame] | 50 | |
Stephen Rothwell | f85ff30 | 2007-05-01 16:40:36 +1000 | [diff] [blame] | 51 | config OF_DEVICE |
52 | def_bool y | ||||
Anton Vorontsov | 863fbf4 | 2008-04-11 23:06:45 +1000 | [diff] [blame] | 53 | |
54 | config OF_GPIO | ||||
55 | def_bool y | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 56 | depends on GPIOLIB && !SPARC |
Anton Vorontsov | 863fbf4 | 2008-04-11 23:06:45 +1000 | [diff] [blame] | 57 | help |
58 | OpenFirmware GPIO accessors | ||||
Jochen Friedrich | 612212a | 2008-04-12 05:22:35 +1000 | [diff] [blame] | 59 | |
60 | config OF_I2C | ||||
Jochen Friedrich | 585468e | 2008-04-19 00:23:03 +1000 | [diff] [blame] | 61 | def_tristate I2C |
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 62 | depends on I2C && !SPARC |
Jochen Friedrich | 612212a | 2008-04-12 05:22:35 +1000 | [diff] [blame] | 63 | help |
64 | OpenFirmware I2C accessors | ||||
Grant Likely | 284b018 | 2008-05-16 11:37:09 -0600 | [diff] [blame] | 65 | |
David Daney | 4b6ba8a | 2010-10-26 15:07:13 -0700 | [diff] [blame] | 66 | config OF_NET |
67 | depends on NETDEVICES | ||||
68 | def_bool y | ||||
69 | |||||
Grant Likely | 284b018 | 2008-05-16 11:37:09 -0600 | [diff] [blame] | 70 | config OF_SPI |
71 | def_tristate SPI | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 72 | depends on SPI && !SPARC |
Grant Likely | 284b018 | 2008-05-16 11:37:09 -0600 | [diff] [blame] | 73 | help |
74 | OpenFirmware SPI accessors | ||||
Grant Likely | 8bc487d | 2009-04-25 12:52:56 +0000 | [diff] [blame] | 75 | |
76 | config OF_MDIO | ||||
77 | def_tristate PHYLIB | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 78 | depends on PHYLIB |
Grant Likely | 8bc487d | 2009-04-25 12:52:56 +0000 | [diff] [blame] | 79 | help |
80 | OpenFirmware MDIO bus (Ethernet PHY) accessors | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 81 | |
Sebastian Andrzej Siewior | 04bea68 | 2011-01-24 09:58:55 +0530 | [diff] [blame] | 82 | config OF_PCI |
83 | def_tristate PCI | ||||
Benjamin Herrenschmidt | 98d9f30 | 2011-04-11 11:37:07 +1000 | [diff] [blame] | 84 | depends on PCI |
Sebastian Andrzej Siewior | 04bea68 | 2011-01-24 09:58:55 +0530 | [diff] [blame] | 85 | help |
86 | OpenFirmware PCI bus accessors | ||||
87 | |||||
Benjamin Herrenschmidt | 98d9f30 | 2011-04-11 11:37:07 +1000 | [diff] [blame] | 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 | |||||
Michael Bohan | 86e30dc | 2012-01-05 14:16:43 -0800 | [diff] [blame] | 94 | config OF_SPMI |
95 | def_tristate SPMI | ||||
96 | depends on SPMI | ||||
97 | help | ||||
98 | OpenFirmware SPMI bus accessors | ||||
99 | |||||
Jean-Christophe PLAGNIOL-VILLARD | 770d7c3 | 2012-01-28 12:12:36 +0800 | [diff] [blame] | 100 | config OF_MTD |
101 | depends on MTD | ||||
102 | def_bool y | ||||
103 | |||||
Sagar Dharia | 7e42e7f | 2012-03-21 15:29:04 -0600 | [diff] [blame] | 104 | config OF_SLIMBUS |
105 | def_tristate SLIMBUS | ||||
106 | depends on SLIMBUS | ||||
107 | help | ||||
108 | OpenFirmware SLIMBUS accessors | ||||
109 | |||||
Pratik Patel | f5e8497 | 2013-05-14 12:40:22 -0700 | [diff] [blame] | 110 | config OF_CORESIGHT |
111 | def_bool y | ||||
112 | depends on CORESIGHT | ||||
113 | help | ||||
114 | OpenFirmware CoreSight accessors | ||||
115 | |||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 116 | endmenu # OF |