public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [Patch v2, batch 3 01/17] common: Update cmd_bdinfo for PPC
@ 2013-03-25 17:39 York Sun
  2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 02/17] powerpc/t4240qds: Add board detail for bdinfo command York Sun
                   ` (16 more replies)
  0 siblings, 17 replies; 20+ messages in thread
From: York Sun @ 2013-03-25 17:39 UTC (permalink / raw)
  To: u-boot

Add board detail function to print more individual board information.

Signed-off-by: York Sun <yorksun@freescale.com>
CC: Wolfgang Denk <wd@denx.de>
CC: Tom Rini <trini@ti.com>

---
 common/cmd_bdinfo.c |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index 85279d5..3bf8cf2 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -84,6 +84,12 @@ static void print_mhz(const char *name, unsigned long hz)
 }
 
 #if defined(CONFIG_PPC)
+static void __board_detail(void)
+{
+	/* Please define boot_detail() for your platform */
+}
+
+void board_detail(void) __attribute__((weak, alias("__board_detail")));
 
 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
@@ -169,6 +175,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	printf("IP addr     = %s\n", getenv("ipaddr"));
 	printf("baudrate    = %6u bps\n", bd->bi_baudrate);
 	print_num("relocaddr", gd->relocaddr);
+	board_detail();
 	return 0;
 }
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-05-13 22:56 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-25 17:39 [U-Boot] [Patch v2, batch 3 01/17] common: Update cmd_bdinfo for PPC York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 02/17] powerpc/t4240qds: Add board detail for bdinfo command York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 03/17] fsl_ifc: add support for different IFC bank count York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 04/17] powerpc/mpc85xx b8460 PCIe registers are not at QORIQ_CHASSIS2 location York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 05/17] powerpc/mpc85xx: Add setting of clock-frequency for T4/B4 clockgen node York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 06/17] t4240qds/eth: fixup ethernet for t4240qds York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 07/17] net/fm: fixup ethernet for mEMAC York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 08/17] powerpc/85xx: fix build error introduced by serdes_get_prtcl York Sun
2013-05-13 22:56   ` Andy Fleming
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 09/17] net/phy: add VSC8574 support York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 10/17] T4240/net: use QSGMII card PHY address by default York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 11/17] T4/usb: move usb 2.0 utmi dual phy init code to cpu_init.c York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 12/17] powerpc/mpc85xx: Update workaround for DDR erratum A-004934 York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 13/17] powerpc/mpc8xxx: Allow board file to override DDR address assignment York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 14/17] powerpc/b4860qds: Assign DDR address in board file York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 15/17] powerpc/t4qds: Fix disabling remote I2C connection York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 16/17] T4240/eth: fix SGMII card PHY address York Sun
2013-03-25 17:39 ` [U-Boot] [Patch v2, batch 3 17/17] powerpc/srio: Remove duplicate macro definitions York Sun
2013-05-10 20:16 ` [U-Boot] [Patch v2, batch 3 01/17] common: Update cmd_bdinfo for PPC Andy Fleming
2013-05-10 20:30   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox