MPC8544DS: Report board id, board version and fpga version.
authorKumar Gala <galak@kernel.crashing.org>
Mon, 14 Jul 2008 19:07:01 +0000 (14:07 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Tue, 15 Jul 2008 01:15:22 +0000 (20:15 -0500)
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8544ds/mpc8544ds.c

index 8c4b040..c39ce11 100644 (file)
@@ -49,7 +49,10 @@ int checkboard (void)
        if ((uint)&gur->porpllsr != 0xe00e0000) {
                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->lteir = 0xffffffff;        /* Enable LBC error interrupts */