diff options
author | Stefan Roese <sr@denx.de> | 2007-01-15 08:01:42 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-01-15 08:01:42 +0100 |
commit | c2a6e9091fae9e8339c70f4b12cd3f7d5502ae0c (patch) | |
tree | af4d40fe81c1db7ea293a3a34c66b94fe6bb153b /board/amcc/sequoia/sequoia.c | |
parent | b8b787065210a1650e16716e21b73468fdaf5ea8 (diff) | |
parent | b8a8bfc0c6390e12ffb324405ae9179ef460cb5c (diff) | |
download | u-boot-imx-c2a6e9091fae9e8339c70f4b12cd3f7d5502ae0c.zip u-boot-imx-c2a6e9091fae9e8339c70f4b12cd3f7d5502ae0c.tar.gz u-boot-imx-c2a6e9091fae9e8339c70f4b12cd3f7d5502ae0c.tar.bz2 |
Merge with git+ssh://sr@pollux.denx.org/home/sr/git/u-boot/denx/.git
Diffstat (limited to 'board/amcc/sequoia/sequoia.c')
-rw-r--r-- | board/amcc/sequoia/sequoia.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/amcc/sequoia/sequoia.c b/board/amcc/sequoia/sequoia.c index 703204f..b2b82c7 100644 --- a/board/amcc/sequoia/sequoia.c +++ b/board/amcc/sequoia/sequoia.c @@ -350,12 +350,19 @@ int misc_init_r(void) int checkboard(void) { char *s = getenv("serial#"); + u8 rev; + u8 val; #ifdef CONFIG_440EPX printf("Board: Sequoia - AMCC PPC440EPx Evaluation Board"); #else printf("Board: Rainier - AMCC PPC440GRx Evaluation Board"); #endif + + rev = *(u8 *)(CFG_CPLD + 0); + val = *(u8 *)(CFG_CPLD + 5) & 0x01; + printf(", Rev. %X, PCI=%d MHz", rev, val ? 66 : 33); + if (s != NULL) { puts(", serial# "); puts(s); |