board: gateworks: venice: display DTB used
Display the DTB file used for U-Boot.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
diff --git a/board/gateworks/venice/imx8mm_venice.c b/board/gateworks/venice/imx8mm_venice.c
index 1d51b6e..cb00f53 100644
--- a/board/gateworks/venice/imx8mm_venice.c
+++ b/board/gateworks/venice/imx8mm_venice.c
@@ -42,12 +42,16 @@
{
int i = 0;
const char *dtb;
+ static char init;
char buf[32];
do {
dtb = gsc_get_dtb_name(i++, buf, sizeof(buf));
- if (!strcmp(dtb, name))
+ if (!strcmp(dtb, name)) {
+ if (!init++)
+ printf("DTB : %s\n", name);
return 0;
+ }
} while (dtb);
return -1;