diff options
author | Tim Harvey <tharvey@gateworks.com> | 2021-06-30 17:07:40 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-07-10 18:12:42 +0200 |
commit | 9d2e639f8ed606cfca1b1f862023c73122b5ec66 (patch) | |
tree | 919a8b4c29ca23251145686035a7caf0f8107bde /board | |
parent | 658eb1abd84378d52b9157ca5190475091d0f608 (diff) | |
download | u-boot-9d2e639f8ed606cfca1b1f862023c73122b5ec66.tar.gz |
board: gateworks: venice: display DTB used
Display the DTB file used for U-Boot.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/gateworks/venice/imx8mm_venice.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/board/gateworks/venice/imx8mm_venice.c b/board/gateworks/venice/imx8mm_venice.c index 1d51b6ea9b..cb00f532bf 100644 --- a/board/gateworks/venice/imx8mm_venice.c +++ b/board/gateworks/venice/imx8mm_venice.c @@ -42,12 +42,16 @@ int board_fit_config_name_match(const char *name) { 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; |