diff options
author | Hannes Schmelzer <oe5hpm@oevsv.at> | 2015-06-11 12:27:09 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-11 08:29:14 -0400 |
commit | 7bb7d672aa50ed92a10ee268d0fed39aaa97a7c8 (patch) | |
tree | c31d687b775eb668e4a6b7cb6fa76c0647ced4a9 /common/cmd_bdinfo.c | |
parent | 3850dbe833facceb5b3d57a6a0ee93532b445aaa (diff) | |
download | u-boot-imx-7bb7d672aa50ed92a10ee268d0fed39aaa97a7c8.zip u-boot-imx-7bb7d672aa50ed92a10ee268d0fed39aaa97a7c8.tar.gz u-boot-imx-7bb7d672aa50ed92a10ee268d0fed39aaa97a7c8.tar.bz2 |
common/cmd_bdinfo: show gd->board_type
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>
Diffstat (limited to 'common/cmd_bdinfo.c')
-rw-r--r-- | common/cmd_bdinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index f16d5c7..ed3b935 100644 --- 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; } |