projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a94f22f
)
MPC8641HPCN: Report board id, board version and fpga version.
author
Kumar Gala
<galak@kernel.crashing.org>
Thu, 19 Jun 2008 06:45:27 +0000
(
01:45
-0500)
committer
Jon Loeliger
<jdl@freescale.com>
Thu, 19 Jun 2008 13:32:13 +0000
(08:32 -0500)
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8641hpcn/mpc8641hpcn.c
patch
|
blob
|
history
diff --git
a/board/freescale/mpc8641hpcn/mpc8641hpcn.c
b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
index cf540fc6518df7324fba3273e866d231806f1b99..b30c6b1e9205ed2ea562354058830d34b49f7be3 100644
(file)
--- a/
board/freescale/mpc8641hpcn/mpc8641hpcn.c
+++ b/
board/freescale/mpc8641hpcn/mpc8641hpcn.c
@@
-47,8
+47,10
@@
int board_early_init_f(void)
int checkboard(void)
{
- puts("Board: MPC8641HPCN\n");
-
+ printf ("Board: MPC8641HPCN, 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));
return 0;
}