Browse Source

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

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala 17 years ago
parent
commit
e5852787f0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      board/freescale/mpc8544ds/mpc8544ds.c

+ 4 - 1
board/freescale/mpc8544ds/mpc8544ds.c

@@ -49,7 +49,10 @@ int checkboard (void)
 	if ((uint)&gur->porpllsr != 0xe00e0000) {
 	if ((uint)&gur->porpllsr != 0xe00e0000) {
 		printf("immap size error %lx\n",(ulong)&gur->porpllsr);
 		printf("immap size error %lx\n",(ulong)&gur->porpllsr);
 	}
 	}
-	printf ("Board: MPC8544DS\n");
+	printf ("Board: MPC8544DS, System ID: 0x%02x, "
+		"System Version: 0x%02x, FPGA Version: 0x%02x\n",
+		in8(PIXIS_BASE + PIXIS_ID), in8(PIXIS_BASE + PIXIS_VER),
+		in8(PIXIS_BASE + PIXIS_PVER));
 
 
 	lbc->ltesr = 0xffffffff;	/* Clear LBC error interrupts */
 	lbc->ltesr = 0xffffffff;	/* Clear LBC error interrupts */
 	lbc->lteir = 0xffffffff;	/* Enable LBC error interrupts */
 	lbc->lteir = 0xffffffff;	/* Enable LBC error interrupts */