]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_bdinfo.c
gpio: use appropriate return values for cmd handler
[karo-tx-uboot.git] / common / cmd_bdinfo.c
index f16d5c719f8e0f5726d0a5b3df40833d65e7cdcf..ed3b9351b1a7a4648ef3bab4c105b0cfe0cf2dc2 100644 (file)
@@ -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;
 }