blob: 889005fa4d0405aa06b3489ec88554291ce6dab1 [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
Grant Likely53a42092011-12-12 09:25:57 -070010config OF_SELFTEST
11 bool "Device Tree Runtime self tests"
Rob Herringf5ae18e2013-11-07 11:54:27 -060012 depends on OF_IRQ
Grant Likely53a42092011-12-12 09:25:57 -070013 help
14 This option builds in test cases for the device tree infrastructure
Geert Uytterhoeven5d927082013-12-24 21:06:01 +010015 that are executed once at boot time, and the results dumped to the
Grant Likely53a42092011-12-12 09:25:57 -070016 console.
17
18 If unsure, say N here, but this option is safe to enable.
19
Grant Likelye169cfb2009-11-23 14:53:09 -070020config OF_FLATTREE
21 bool
Grant Likely5ab5fc72010-07-05 12:02:13 -060022 select DTC
Grant Likelye169cfb2009-11-23 14:53:09 -070023
Stephen Neuendorffere6ce1322010-11-18 15:54:56 -080024config OF_EARLY_FLATTREE
25 bool
26 select OF_FLATTREE
27
Andres Salomon3cfc5352010-10-10 21:42:33 -060028config OF_PROMTREE
29 bool
30
Grant Likely0f22dd32012-02-15 20:38:40 -070031# Hardly any platforms need this. It is safe to select, but only do so if you
32# need it.
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070033config OF_DYNAMIC
Grant Likely0f22dd32012-02-15 20:38:40 -070034 bool
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070035
Grant Likely6b884a82010-06-08 07:48:09 -060036config OF_ADDRESS
37 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060038 depends on !SPARC
Gregory CLEMENT25a31572014-02-19 23:14:55 +010039 select OF_ADDRESS_PCI if PCI
40
41config OF_ADDRESS_PCI
42 bool
Grant Likely6b884a82010-06-08 07:48:09 -060043
Grant Likelye3873442010-06-18 11:09:59 -060044config OF_IRQ
45 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060046 depends on !SPARC
Grant Likelye3873442010-06-18 11:09:59 -060047
David Daney4b6ba8a2010-10-26 15:07:13 -070048config OF_NET
49 depends on NETDEVICES
50 def_bool y
51
Grant Likely8bc487d2009-04-25 12:52:56 +000052config OF_MDIO
53 def_tristate PHYLIB
Grant Likely5ab5fc72010-07-05 12:02:13 -060054 depends on PHYLIB
Grant Likely8bc487d2009-04-25 12:52:56 +000055 help
56 OpenFirmware MDIO bus (Ethernet PHY) accessors
Grant Likely5ab5fc72010-07-05 12:02:13 -060057
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053058config OF_PCI
59 def_tristate PCI
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100060 depends on PCI
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053061 help
62 OpenFirmware PCI bus accessors
63
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100064config OF_PCI_IRQ
65 def_tristate PCI
66 depends on OF_PCI && OF_IRQ
67 help
68 OpenFirmware PCI IRQ routing helpers
69
Jean-Christophe PLAGNIOL-VILLARD770d7c32012-01-28 12:12:36 +080070config OF_MTD
71 depends on MTD
72 def_bool y
73
Marek Szyprowski3f0c8202014-02-28 14:42:48 +010074config OF_RESERVED_MEM
75 depends on OF_EARLY_FLATTREE
76 bool
77 help
78 Helpers to allow for reservation of memory regions
79
Grant Likely5ab5fc72010-07-05 12:02:13 -060080endmenu # OF