5 bool "Device Tree and Open Firmware support"
7 This option enables the device tree infrastructure.
8 It is automatically selected by platforms that need it or can
9 be enabled manually for unittests, overlays or
15 bool "Device Tree runtime unit tests"
17 select OF_EARLY_FLATTREE
20 This option builds in test cases for the device tree infrastructure
21 that are executed once at boot time, and the results dumped to the
24 If unsure, say N here, but this option is safe to enable.
27 bool "Build all Device Tree Blobs"
28 depends on COMPILE_TEST
31 This option builds all possible Device Tree Blobs (DTBs) for the
34 If unsure, say N here, but this option is safe to enable.
42 config OF_EARLY_FLATTREE
52 # Hardly any platforms need this. It is safe to select, but only do so if you
55 bool "Support for dynamic device trees" if OF_UNITTEST
58 On some platforms, the device tree can be manipulated at runtime.
59 While this option is selected automatically on such platforms, you
60 can enable it manually to improve device tree unit test coverage.
64 depends on !SPARC && HAS_IOMEM
65 select OF_ADDRESS_PCI if PCI
72 depends on !SPARC && IRQ_DOMAIN
83 OpenFirmware MDIO bus (Ethernet PHY) accessors
89 OpenFirmware PCI bus accessors
93 depends on OF_PCI && OF_IRQ
95 OpenFirmware PCI IRQ routing helpers
97 config OF_RESERVED_MEM
98 depends on OF_EARLY_FLATTREE
101 Helpers to allow for reservation of memory regions
107 bool "Device Tree overlays"
111 Overlays are a method to dynamically modify part of the kernel's
112 device tree with dynamically loaded data.
113 While this option is selected automatically when needed, you can
114 enable it manually to improve device tree unit test coverage.