diff options
author | Stefan Roese <sr@denx.de> | 2007-01-13 07:57:51 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-01-13 07:57:51 +0100 |
commit | e0b9ea8c8a294de6a5350ae638879d24b5b709d6 (patch) | |
tree | 9cd06711dc397b0fbc6422aac7848a606022840a /board | |
parent | f07ae7a9daef27a3d0213a4f3fe39d5342173c02 (diff) | |
download | u-boot-imx-e0b9ea8c8a294de6a5350ae638879d24b5b709d6.zip u-boot-imx-e0b9ea8c8a294de6a5350ae638879d24b5b709d6.tar.gz u-boot-imx-e0b9ea8c8a294de6a5350ae638879d24b5b709d6.tar.bz2 |
[PATCH] Update Sequoia (440EPx) to display board rev and PCI bus speed
Now the board revision and the current PCI bus speed are printed after
the board message.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board')
-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); |