projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658eb1a
)
board: gateworks: venice: display DTB used
author
Tim Harvey
<tharvey@gateworks.com>
Thu, 1 Jul 2021 00:07:40 +0000
(17:07 -0700)
committer
Stefano Babic
<sbabic@denx.de>
Sat, 10 Jul 2021 16:12:42 +0000
(18:12 +0200)
Display the DTB file used for U-Boot.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/venice/imx8mm_venice.c
patch
|
blob
|
history
diff --git
a/board/gateworks/venice/imx8mm_venice.c
b/board/gateworks/venice/imx8mm_venice.c
index 1d51b6ea9b5f6c6b7e37f4d1e22f7af34dfab33a..cb00f532bf8adb2d019d75e5e401233123bf7971 100644
(file)
--- 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;