From: Kumar Gala Date: Thu, 19 Jun 2008 06:45:27 +0000 (-0500) Subject: MPC8641HPCN: Report board id, board version and fpga version. X-Git-Tag: v1.3.4-rc1~49^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7de8c21f14df9c20fdcf6027aec8e8545f75f835;p=u-boot MPC8641HPCN: Report board id, board version and fpga version. Signed-off-by: Kumar Gala --- diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c index cf540fc651..b30c6b1e92 100644 --- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c +++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c @@ -47,8 +47,10 @@ int board_early_init_f(void) int checkboard(void) { - puts("Board: MPC8641HPCN\n"); - + printf ("Board: MPC8641HPCN, System ID: 0x%02lx, " + "System Version: 0x%02lx, FPGA Version: 0x%02lx\n", + in8(PIXIS_BASE + PIXIS_ID), in8(PIXIS_BASE + PIXIS_VER), + in8(PIXIS_BASE + PIXIS_PVER)); return 0; }