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:
3850dbe
)
common/cmd_bdinfo: show gd->board_type
author
Hannes Schmelzer
<oe5hpm@oevsv.at>
Thu, 11 Jun 2015 10:27:09 +0000
(12:27 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 11 Jun 2015 12:29:14 +0000
(08:29 -0400)
sometimes it is usefull to know if board-detection has
written the correct value into gd->board_type.
For this we add some output to the bdinfo command.
Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
common/cmd_bdinfo.c
patch
|
blob
|
history
diff --git
a/common/cmd_bdinfo.c
b/common/cmd_bdinfo.c
index
f16d5c7
..
ed3b935
100644
(file)
--- a/
common/cmd_bdinfo.c
+++ b/
common/cmd_bdinfo.c
@@
-400,6
+400,9
@@
static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
printf("DSP frequency = %ld MHz\n", gd->bd->bi_dsp_freq);
printf("DDR frequency = %ld MHz\n", gd->bd->bi_ddr_freq);
#endif
+#ifdef CONFIG_BOARD_TYPES
+ printf("Board Type = %ld\n", gd->board_type);
+#endif
return 0;
}