CONFIG_DTC
CONFIG_GENERIC_BUILTIN_DTB
CONFIG_BUILTIN_DTB_ALL
CONFIG_OF Device Tree and Open Firmware support
This option enables the device tree infrastructure. It is automatically selected by platforms that need it or can be enabled manually for unittests, overlays or compile-coverage.
If OF
CONFIG_OF_UNITTEST Device Tree runtime unit tests
This option builds in test cases for the device tree infrastructure that are executed once at boot time, and the results dumped to the console.
This option should only be enabled for a development kernel. The tests will taint the kernel with TAINT_TEST. The tests will cause ERROR and WARNING messages to print on the console. The tests will cause stack traces to print on the console. It is possible that the tests will leave the devicetree in a corrupted state.
The unittest output will be verbose. Copy the output to a file via capturing the console output or via the dmesg command. Process this file with scripts/dtc/of_unittest_expect to reduce the verbosity, test whether expected output is present, and to summarize the results.
If unsure, say N here. This option is not safe to enable.
- Depends on
OF && OF_EARLY_FLATTREE - Selects
IRQ_DOMAIN if OF && OF_EARLY_FLATTREE - Selects
OF_RESOLVE if OF && OF_EARLY_FLATTREE
CONFIG_OF_KUNIT_TEST Devicetree KUnit Test
- Off
- Module
- Built in
This option builds KUnit unit tests for device tree infrastructure.
If unsure, say N here, but this option is safe to enable.
CONFIG_OF_ALL_DTBS Build all Device Tree Blobs
This option builds all possible Device Tree Blobs (DTBs) for the current architecture.
If unsure, say N here, but this option is safe to enable.
- Depends on
OF && COMPILE_TEST - Selects
DTC if OF && COMPILE_TEST
CONFIG_OF_FLATTREE
CONFIG_OF_EARLY_FLATTREE
- Selects
DMA_DECLARE_COHERENT if OF && HAS_DMA && HAS_IOMEM - Selects
OF_FLATTREE if OF
CONFIG_OF_PROMTREE
CONFIG_OF_KOBJ
CONFIG_OF_DYNAMIC Support for dynamic device trees
On some platforms, the device tree can be manipulated at runtime. While this option is selected automatically on such platforms, you can enable it manually to improve device tree unit test coverage.
CONFIG_OF_ADDRESS
CONFIG_OF_IRQ
- Depends on
OF && !SPARC && IRQ_DOMAIN
CONFIG_OF_RESERVED_MEM
CONFIG_OF_RESOLVE
CONFIG_OF_OVERLAY Device Tree overlays
Overlays are a method to dynamically modify part of the kernel's device tree with dynamically loaded data. While this option is selected automatically when needed, you can enable it manually to improve device tree unit test coverage.
- Selects
OF_DYNAMIC if OF - Selects
OF_FLATTREE if OF - Selects
OF_RESOLVE if OF
CONFIG_OF_OVERLAY_KUNIT_TEST Device Tree overlay KUnit tests
- Off
- Module
- Built in
This option builds KUnit unit tests for the device tree overlay code.
If unsure, say N here, but this option is safe to enable.