summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-06-19 01:45:50 -0500
committerJon Loeliger <jdl@freescale.com>2008-06-19 08:32:18 -0500
commita036b0443657fe0f4773786de9092251869f08ac (patch)
tree9434f3eee92a3b86f356134c30bfd9a164a46f7c
parent7de8c21f14df9c20fdcf6027aec8e8545f75f835 (diff)
downloadu-boot-imx-a036b0443657fe0f4773786de9092251869f08ac.zip
u-boot-imx-a036b0443657fe0f4773786de9092251869f08ac.tar.gz
u-boot-imx-a036b0443657fe0f4773786de9092251869f08ac.tar.bz2
MPC8610HPCD: Report board id, board version and fpga version.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--board/freescale/mpc8610hpcd/mpc8610hpcd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c
index c85f373..0bf21d5 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 */