summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-02-14 15:11:37 -0500
committerTom Rini <trini@konsulko.com>2023-02-14 15:11:37 -0500
commit2bfd217a16978794b43f0a30111b7472fba232b6 (patch)
treedfac18d00740bfc8c29da90e62dfb18765bb2143 /common/board_r.c
parentfaac9dee8e0629326dc122f4624fc4897e3f38b0 (diff)
parent9a8a27a76ad7ab51f19c7f019d7cdac8a3f9f3c9 (diff)
Merge tag 'dm-next-valentine' of https://source.denx.de/u-boot/custodians/u-boot-dm into next
Move U-Boot over to the new schema for driver model tags
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c
index e45003353f7..6b4180b3ecd 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -569,6 +569,13 @@ static int dm_announce(void)
printf("Warning: Unexpected devicetree source (not from a prior stage)");
printf("Warning: U-Boot may not function properly\n");
}
+ if (IS_ENABLED(CONFIG_OF_TAG_MIGRATE) &&
+ (gd->flags & GD_FLG_OF_TAG_MIGRATE))
+ /*
+ * U-Boot will silently fail to work after 2023.07 if
+ * there are old tags present
+ */
+ printf("Warning: Device tree includes old 'u-boot,dm-' tags: please fix by 2023.07!\n");
}
return 0;