]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - dts/Kconfig
dm: Add callback to modify the device tree
[people/ms/u-boot.git] / dts / Kconfig
index 4b7d8b15cc04d7f3a81ab7edf50268901ee4cf8c..3f64eda61910a04174672af64df7c010455b096a 100644 (file)
@@ -14,6 +14,16 @@ config OF_CONTROL
          This feature provides for run-time configuration of U-Boot
          via a flattened device tree.
 
+config OF_BOARD_FIXUP
+       bool "Board-specific manipulation of Device Tree"
+       help
+         In certain circumstances it is necessary to be able to modify
+         U-Boot's device tree (e.g. to delete device from it). This option
+         make the Device Tree writeable and provides a board-specific
+         "board_fix_fdt" callback (called during pre-relocation time), which
+         enables the board initialization to modifiy the Device Tree. The
+         modified copy is subsequently used by U-Boot after relocation.
+
 config SPL_OF_CONTROL
        bool "Enable run-time configuration via Device Tree in SPL"
        depends on SPL && OF_CONTROL