summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-04-10 21:21:58 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2023-04-12 11:44:37 -0500
commit74b5111f8bd6debe04d05a503b3da495ad02ab30 (patch)
tree5382ec8e60565c324552989ee92ef382416c5814 /dts
parentb829b7429bcfb4dec065404c6807988639ca9dc0 (diff)
dm: Add support for handling old u-boot,dm- tags
Add a CONFIG option to deal with this automatically, printing a warning when U-Boot starts up. This can be useful if the device tree comes from another project. We will maintain this through the 2023.07 release, providing 6 months for people to notice. Version 4: Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'dts')
-rw-r--r--dts/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/dts/Kconfig b/dts/Kconfig
index 44cc6bf1f6..deb865d4c2 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -342,6 +342,16 @@ config SPL_MULTI_DTB_FIT_USER_DEF_ADDR
at compilation time. This is the address of this area. It must be
aligned on 2-byte boundary.
+config OF_TAG_MIGRATE
+ bool "Ease migration from old device trees with u-boot,dm- tags"
+ default y
+ help
+ U-Boot moved over to use new tags to mark device tree nodes which need
+ to be processed in SPL, before relocation, etc. Enable this option to
+ detect old tags and handle them.
+
+ Note: This option will be removed after the 2023.07 release.
+
config OF_SPL_REMOVE_PROPS
string "List of device tree properties to drop for SPL"
depends on SPL_OF_CONTROL