From: Kumar Gala Date: Thu, 19 Jun 2008 06:45:50 +0000 (-0500) Subject: MPC8610HPCD: Report board id, board version and fpga version. X-Git-Tag: v1.3.4-rc1~49^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a036b0443657fe0f4773786de9092251869f08ac;p=oweals%2Fu-boot.git MPC8610HPCD: Report board id, board version and fpga version. Signed-off-by: Kumar Gala --- diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index c85f373c1a..0bf21d592d 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c @@ -99,7 +99,10 @@ int checkboard(void) volatile immap_t *immap = (immap_t *)CFG_IMMR; volatile ccsr_local_mcm_t *mcm = &immap->im_local_mcm; - puts("Board: MPC8610HPCD\n"); + printf ("Board: MPC8610HPCD, 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)); mcm->abcr |= 0x00010000; /* 0 */ mcm->hpmr3 = 0x80000008; /* 4c */