Skip to content
Snippets Groups Projects
Commit 7bb7d672 authored by Hannes Schmelzer's avatar Hannes Schmelzer Committed by Tom Rini
Browse files

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: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
parent 3850dbe8
No related branches found
No related tags found
No related merge requests found
......@@ -399,6 +399,9 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
printf("ARM frequency = %ld MHz\n", gd->bd->bi_arm_freq);
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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment