MPC8610HPCD: Report board id, board version and fpga version.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Kumar Gala 2008-06-19 01:45:50 -05:00 committed by Jon Loeliger
parent 7de8c21f14
commit a036b04436

View file

@ -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 */