blob: c144b8f990ff63c98b9fb88fff38292c07bd2e41 [file] [log] [blame]
Grant Likely5ab5fc72010-07-05 12:02:13 -06001config DTC
2 bool
3
Stephen Rothwellbcbefae2010-06-29 12:45:51 +10004config OF
5 bool
6
Andres Salomon3cfc5352010-10-10 21:42:33 -06007menu "Device Tree and Open Firmware support"
Grant Likely5ab5fc72010-07-05 12:02:13 -06008 depends on OF
9
Andres Salomonef2a4522010-06-28 22:00:48 -040010config 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 Likely53a42092011-12-12 09:25:57 -070018config OF_SELFTEST
19 bool "Device Tree Runtime self tests"
Rob Herringf5ae18e2013-11-07 11:54:27 -060020 depends on OF_IRQ
Grant Likely53a42092011-12-12 09:25:57 -070021 help
22 This option builds in test cases for the device tree infrastructure
Geert Uytterhoeven5d927082013-12-24 21:06:01 +010023 that are executed once at boot time, and the results dumped to the
Grant Likely53a42092011-12-12 09:25:57 -070024 console.
25
26 If unsure, say N here, but this option is safe to enable.
27
Grant Likelye169cfb2009-11-23 14:53:09 -070028config OF_FLATTREE
29 bool
Grant Likely5ab5fc72010-07-05 12:02:13 -060030 select DTC
Grant Likelye169cfb2009-11-23 14:53:09 -070031
Stephen Neuendorffere6ce1322010-11-18 15:54:56 -080032config OF_EARLY_FLATTREE
33 bool
34 select OF_FLATTREE
35
Andres Salomon3cfc5352010-10-10 21:42:33 -060036config OF_PROMTREE
37 bool
38
Grant Likely0f22dd32012-02-15 20:38:40 -070039# Hardly any platforms need this. It is safe to select, but only do so if you
40# need it.
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070041config OF_DYNAMIC
Grant Likely0f22dd32012-02-15 20:38:40 -070042 bool
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070043
Grant Likely6b884a82010-06-08 07:48:09 -060044config OF_ADDRESS
45 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060046 depends on !SPARC
Gregory CLEMENT25a31572014-02-19 23:14:55 +010047 select OF_ADDRESS_PCI if PCI
48
49config OF_ADDRESS_PCI
50 bool
Grant Likely6b884a82010-06-08 07:48:09 -060051
Grant Likelye3873442010-06-18 11:09:59 -060052config OF_IRQ
53 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060054 depends on !SPARC
Grant Likelye3873442010-06-18 11:09:59 -060055
David Daney4b6ba8a2010-10-26 15:07:13 -070056config OF_NET
57 depends on NETDEVICES
58 def_bool y
59
Grant Likely8bc487d2009-04-25 12:52:56 +000060config OF_MDIO
61 def_tristate PHYLIB
Grant Likely5ab5fc72010-07-05 12:02:13 -060062 depends on PHYLIB
Grant Likely8bc487d2009-04-25 12:52:56 +000063 help
64 OpenFirmware MDIO bus (Ethernet PHY) accessors
Grant Likely5ab5fc72010-07-05 12:02:13 -060065
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053066config OF_PCI
67 def_tristate PCI
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100068 depends on PCI
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053069 help
70 OpenFirmware PCI bus accessors
71
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100072config OF_PCI_IRQ
73 def_tristate PCI
74 depends on OF_PCI && OF_IRQ
75 help
76 OpenFirmware PCI IRQ routing helpers
77
Jean-Christophe PLAGNIOL-VILLARD770d7c32012-01-28 12:12:36 +080078config OF_MTD
79 depends on MTD
80 def_bool y
81
Marek Szyprowski3f0c8202014-02-28 14:42:48 +010082config OF_RESERVED_MEM
83 depends on OF_EARLY_FLATTREE
84 bool
85 help
86 Helpers to allow for reservation of memory regions
87
Grant Likely5ab5fc72010-07-05 12:02:13 -060088endmenu # OF