Skip to contentSkip to conversation

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

PATCH New Kumar Gala 2 participants 2 messages Jun 19, 2008

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 MPC8610HPCD: Report board id, board version and fpga version.

---
 board/freescale/mpc8610hpcd/mpc8610hpcd.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
board/freescale/mpc8610hpcd/mpc8610hpcd.c +4 -1
index c85f373..0bf21d5 100644
@@ -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 */
Signature · 1 line
1.5.5.1
Applied
#1 lore raw

PATCH 1/1 MPC8610HPCD: Report board id, board version and fpga version.

Quoted 4 lines · Kumar Gala
---
 board/freescale/mpc8610hpcd/mpc8610hpcd.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Applied to -mpc86xx repo.

Thanks,
jdl