blob: 1a13f5b722c57e4d2d523c6be9b289084dba115a [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"
Gaurav Minocha32147e92014-07-25 19:57:38 -070012 depends on OF_IRQ && OF_EARLY_FLATTREE
Gaurav Minochaae9304c2014-07-16 23:09:39 -070013 select OF_DYNAMIC
Grant Likely2eb46da2014-10-02 14:36:46 +010014 select OF_RESOLVE
Grant Likely53a42092011-12-12 09:25:57 -070015 help
16 This option builds in test cases for the device tree infrastructure
Geert Uytterhoeven5d927082013-12-24 21:06:01 +010017 that are executed once at boot time, and the results dumped to the
Grant Likely53a42092011-12-12 09:25:57 -070018 console.
19
20 If unsure, say N here, but this option is safe to enable.
21
Grant Likelye169cfb2009-11-23 14:53:09 -070022config OF_FLATTREE
23 bool
Grant Likely5ab5fc72010-07-05 12:02:13 -060024 select DTC
Rob Herringe6a69282014-04-02 15:10:14 -050025 select LIBFDT
Grant Likelye169cfb2009-11-23 14:53:09 -070026
Stephen Neuendorffere6ce1322010-11-18 15:54:56 -080027config OF_EARLY_FLATTREE
28 bool
29 select OF_FLATTREE
30
Andres Salomon3cfc5352010-10-10 21:42:33 -060031config OF_PROMTREE
32 bool
33
Grant Likely0f22dd32012-02-15 20:38:40 -070034# Hardly any platforms need this. It is safe to select, but only do so if you
35# need it.
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070036config OF_DYNAMIC
Grant Likely0f22dd32012-02-15 20:38:40 -070037 bool
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070038
Grant Likely6b884a82010-06-08 07:48:09 -060039config OF_ADDRESS
40 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060041 depends on !SPARC
Gregory CLEMENT25a31572014-02-19 23:14:55 +010042 select OF_ADDRESS_PCI if PCI
43
44config OF_ADDRESS_PCI
45 bool
Grant Likely6b884a82010-06-08 07:48:09 -060046
Grant Likelye3873442010-06-18 11:09:59 -060047config OF_IRQ
48 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060049 depends on !SPARC
Grant Likelye3873442010-06-18 11:09:59 -060050
David Daney4b6ba8a2010-10-26 15:07:13 -070051config OF_NET
52 depends on NETDEVICES
53 def_bool y
54
Grant Likely8bc487d2009-04-25 12:52:56 +000055config OF_MDIO
56 def_tristate PHYLIB
Grant Likely5ab5fc72010-07-05 12:02:13 -060057 depends on PHYLIB
Grant Likely8bc487d2009-04-25 12:52:56 +000058 help
59 OpenFirmware MDIO bus (Ethernet PHY) accessors
Grant Likely5ab5fc72010-07-05 12:02:13 -060060
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053061config OF_PCI
62 def_tristate PCI
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100063 depends on PCI
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053064 help
65 OpenFirmware PCI bus accessors
66
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100067config OF_PCI_IRQ
68 def_tristate PCI
69 depends on OF_PCI && OF_IRQ
70 help
71 OpenFirmware PCI IRQ routing helpers
72
Jean-Christophe PLAGNIOL-VILLARD770d7c32012-01-28 12:12:36 +080073config OF_MTD
74 depends on MTD
75 def_bool y
76
Marek Szyprowski3f0c8202014-02-28 14:42:48 +010077config OF_RESERVED_MEM
78 depends on OF_EARLY_FLATTREE
79 bool
80 help
81 Helpers to allow for reservation of memory regions
82
Pantelis Antoniou7941b272014-07-04 19:59:20 +030083config OF_RESOLVE
84 bool
85
Grant Likely5ab5fc72010-07-05 12:02:13 -060086endmenu # OF