aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass2023-02-13 08:56:32 -0700
committerSimon Glass2023-02-14 09:42:14 -0700
commitc74e03417bdcb2930fa027e78cc8cebed384a975 (patch)
tree1ae64a0916c7edec68aa3e188e82e5c646d49519 /include/asm-generic
parent7703efbc9959e3c468e5c12744168bc5f9326cef (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. Signed-off-by: Simon Glass <sjg@chromium.org> Version 4: Acked-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/global_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index da17ac8cbc8..987fb66c17a 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -650,6 +650,10 @@ enum gd_flags {
* @GD_FLG_FDT_CHANGED: Device tree change has been detected by tests
*/
GD_FLG_FDT_CHANGED = 0x100000,
+ /**
+ * @GD_FLG_OF_TAG_MIGRATE: Device tree has old u-boot,dm- tags
+ */
+ GD_FLG_OF_TAG_MIGRATE = 0x200000,
};
#endif /* __ASSEMBLY__ */