summaryrefslogtreecommitdiff
path: root/board/motionpro
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2007-05-27 16:55:23 +0200
committerBartlomiej Sieka <tur@semihalf.com>2007-05-27 16:55:23 +0200
commitc75e639630cc132dc19cd1ecda5922c0db0bfbba (patch)
tree89696385a45b2ed9f908f51ecf03b94b683a2098 /board/motionpro
parentc99512d6bd3973f01ca2fc4896d829b46e68f150 (diff)
Motion-PRO: Add displaying of CPLD revision information during boot.
Signed-off-by: Jan Wrobel <wrr@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'board/motionpro')
-rw-r--r--board/motionpro/motionpro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/motionpro/motionpro.c b/board/motionpro/motionpro.c
index 98357c7f422..1729ae74166 100644
--- a/board/motionpro/motionpro.c
+++ b/board/motionpro/motionpro.c
@@ -173,7 +173,8 @@ long int initdram (int board_type)
int checkboard (void)
{
- puts("Board: Promess Motion-PRO board\n");
+ uchar rev = *(vu_char *)CPLD_REV_REGISTER;
+ printf("Board: Promess Motion-PRO board (CPLD rev. 0x%02x)\n", rev);
return 0;
}