[U-Boot-Users] [PATCH] MPC8544DS: Report board id, board version and fpga version.
Kumar Gala
galak at kernel.crashing.org
Wed Jun 18 16:03:53 CEST 2008
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
board/freescale/mpc8544ds/mpc8544ds.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c
index f615b23..1994e77 100644
--- a/board/freescale/mpc8544ds/mpc8544ds.c
+++ b/board/freescale/mpc8544ds/mpc8544ds.c
@@ -49,7 +49,10 @@ int checkboard (void)
if ((uint)&gur->porpllsr != 0xe00e0000) {
printf("immap size error %x\n",&gur->porpllsr);
}
- printf ("Board: MPC8544DS\n");
+ printf ("Board: MPC8544DS, 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));
lbc->ltesr = 0xffffffff; /* Clear LBC error interrupts */
lbc->lteir = 0xffffffff; /* Enable LBC error interrupts */
--
1.5.5.1
More information about the U-Boot
mailing list