mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
3850dbe833
commit
7bb7d672aa
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue