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
49 # Hardly any platforms need this. It is safe to select, but only do so if you
52 bool "Support for dynamic device trees" if OF_UNITTEST
54 On some platforms, the device tree can be manipulated at runtime.
55 While this option is selected automatically on such platforms, you
56 can enable it manually to improve device tree unit test coverage.
60 depends on !SPARC && HAS_IOMEM
61 select OF_ADDRESS_PCI if PCI
68 depends on !SPARC && IRQ_DOMAIN
79 OpenFirmware MDIO bus (Ethernet PHY) accessors
85 OpenFirmware PCI bus accessors
89 depends on OF_PCI && OF_IRQ
91 OpenFirmware PCI IRQ routing helpers
93 config OF_RESERVED_MEM
94 depends on OF_EARLY_FLATTREE
97 Helpers to allow for reservation of memory regions
103 bool "Device Tree overlays"
107 Overlays are a method to dynamically modify part of the kernel's
108 device tree with dynamically loaded data.
109 While this option is selected automatically when needed, you can
110 enable it manually to improve device tree unit test coverage.
115 config OF_DMA_DEFAULT_COHERENT
116 # arches should select this if DMA is coherent by default for OF devices