aboutsummaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-13 08:56:32 -0700
committerSimon Glass <sjg@chromium.org>2023-02-14 09:42:14 -0700
commitc74e03417bdcb2930fa027e78cc8cebed384a975 (patch)
tree1ae64a0916c7edec68aa3e188e82e5c646d49519 /dts
parent7703efbc9959e3c468e5c12744168bc5f9326cef (diff)
downloadu-boot-c74e03417bdcb2930fa027e78cc8cebed384a975.zip
u-boot-c74e03417bdcb2930fa027e78cc8cebed384a975.tar.gz
u-boot-c74e03417bdcb2930fa027e78cc8cebed384a975.tar.bz2
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. Signed-off-by: Simon Glass <sjg@chromium.org> Version 4: Acked-by: Michal Simek <michal.simek@amd.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 44cc6bf..deb865d 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