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 | |||||
Grant Likely | 53a4209 | 2011-12-12 09:25:57 -0700 | [diff] [blame] | 10 | config OF_SELFTEST |
11 | bool "Device Tree Runtime self tests" | ||||
Gaurav Minocha | 32147e9 | 2014-07-25 19:57:38 -0700 | [diff] [blame] | 12 | depends on OF_IRQ && OF_EARLY_FLATTREE |
Gaurav Minocha | ae9304c | 2014-07-16 23:09:39 -0700 | [diff] [blame] | 13 | select OF_DYNAMIC |
Grant Likely | 53a4209 | 2011-12-12 09:25:57 -0700 | [diff] [blame] | 14 | help |
15 | This option builds in test cases for the device tree infrastructure | ||||
Geert Uytterhoeven | 5d92708 | 2013-12-24 21:06:01 +0100 | [diff] [blame] | 16 | that are executed once at boot time, and the results dumped to the |
Grant Likely | 53a4209 | 2011-12-12 09:25:57 -0700 | [diff] [blame] | 17 | console. |
18 | |||||
19 | If unsure, say N here, but this option is safe to enable. | ||||
20 | |||||
Grant Likely | e169cfb | 2009-11-23 14:53:09 -0700 | [diff] [blame] | 21 | config OF_FLATTREE |
22 | bool | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 23 | select DTC |
Rob Herring | e6a6928 | 2014-04-02 15:10:14 -0500 | [diff] [blame] | 24 | select LIBFDT |
Grant Likely | e169cfb | 2009-11-23 14:53:09 -0700 | [diff] [blame] | 25 | |
Stephen Neuendorffer | e6ce132 | 2010-11-18 15:54:56 -0800 | [diff] [blame] | 26 | config OF_EARLY_FLATTREE |
27 | bool | ||||
28 | select OF_FLATTREE | ||||
29 | |||||
Andres Salomon | 3cfc535 | 2010-10-10 21:42:33 -0600 | [diff] [blame] | 30 | config OF_PROMTREE |
31 | bool | ||||
32 | |||||
Grant Likely | 0f22dd3 | 2012-02-15 20:38:40 -0700 | [diff] [blame] | 33 | # Hardly any platforms need this. It is safe to select, but only do so if you |
34 | # need it. | ||||
Grant Likely | fcdeb7f | 2010-01-29 05:04:33 -0700 | [diff] [blame] | 35 | config OF_DYNAMIC |
Grant Likely | 0f22dd3 | 2012-02-15 20:38:40 -0700 | [diff] [blame] | 36 | bool |
Grant Likely | fcdeb7f | 2010-01-29 05:04:33 -0700 | [diff] [blame] | 37 | |
Grant Likely | 6b884a8 | 2010-06-08 07:48:09 -0600 | [diff] [blame] | 38 | config OF_ADDRESS |
39 | def_bool y | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 40 | depends on !SPARC |
Gregory CLEMENT | 25a3157 | 2014-02-19 23:14:55 +0100 | [diff] [blame] | 41 | select OF_ADDRESS_PCI if PCI |
42 | |||||
43 | config OF_ADDRESS_PCI | ||||
44 | bool | ||||
Grant Likely | 6b884a8 | 2010-06-08 07:48:09 -0600 | [diff] [blame] | 45 | |
Grant Likely | e387344 | 2010-06-18 11:09:59 -0600 | [diff] [blame] | 46 | config OF_IRQ |
47 | def_bool y | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 48 | depends on !SPARC |
Grant Likely | e387344 | 2010-06-18 11:09:59 -0600 | [diff] [blame] | 49 | |
David Daney | 4b6ba8a | 2010-10-26 15:07:13 -0700 | [diff] [blame] | 50 | config OF_NET |
51 | depends on NETDEVICES | ||||
52 | def_bool y | ||||
53 | |||||
Grant Likely | 8bc487d | 2009-04-25 12:52:56 +0000 | [diff] [blame] | 54 | config OF_MDIO |
55 | def_tristate PHYLIB | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 56 | depends on PHYLIB |
Grant Likely | 8bc487d | 2009-04-25 12:52:56 +0000 | [diff] [blame] | 57 | help |
58 | OpenFirmware MDIO bus (Ethernet PHY) accessors | ||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 59 | |
Sebastian Andrzej Siewior | 04bea68 | 2011-01-24 09:58:55 +0530 | [diff] [blame] | 60 | config OF_PCI |
61 | def_tristate PCI | ||||
Benjamin Herrenschmidt | 98d9f30c8 | 2011-04-11 11:37:07 +1000 | [diff] [blame] | 62 | depends on PCI |
Sebastian Andrzej Siewior | 04bea68 | 2011-01-24 09:58:55 +0530 | [diff] [blame] | 63 | help |
64 | OpenFirmware PCI bus accessors | ||||
65 | |||||
Benjamin Herrenschmidt | 98d9f30c8 | 2011-04-11 11:37:07 +1000 | [diff] [blame] | 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 | |||||
Jean-Christophe PLAGNIOL-VILLARD | 770d7c3 | 2012-01-28 12:12:36 +0800 | [diff] [blame] | 72 | config OF_MTD |
73 | depends on MTD | ||||
74 | def_bool y | ||||
75 | |||||
Marek Szyprowski | 3f0c820 | 2014-02-28 14:42:48 +0100 | [diff] [blame] | 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 | |||||
Grant Likely | 5ab5fc7 | 2010-07-05 12:02:13 -0600 | [diff] [blame] | 82 | endmenu # OF |