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
78 OpenFirmware MDIO bus (Ethernet PHY) accessors
84 OpenFirmware PCI bus accessors
88 depends on OF_PCI && OF_IRQ
90 OpenFirmware PCI IRQ routing helpers
96 config OF_RESERVED_MEM
97 depends on OF_EARLY_FLATTREE
100 Helpers to allow for reservation of memory regions
106 bool "Device Tree overlays"
110 Overlays are a method to dynamically modify part of the kernel's
111 device tree with dynamically loaded data.
112 While this option is selected automatically when needed, you can
113 enable it manually to improve device tree unit test coverage.