mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-15 06:55:17 -04:00
[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>
This commit is contained in:
parent
f07ae7a9da
commit
e0b9ea8c8a
@ -350,12 +350,19 @@ int misc_init_r(void)
|
|||||||
int checkboard(void)
|
int checkboard(void)
|
||||||
{
|
{
|
||||||
char *s = getenv("serial#");
|
char *s = getenv("serial#");
|
||||||
|
u8 rev;
|
||||||
|
u8 val;
|
||||||
|
|
||||||
#ifdef CONFIG_440EPX
|
#ifdef CONFIG_440EPX
|
||||||
printf("Board: Sequoia - AMCC PPC440EPx Evaluation Board");
|
printf("Board: Sequoia - AMCC PPC440EPx Evaluation Board");
|
||||||
#else
|
#else
|
||||||
printf("Board: Rainier - AMCC PPC440GRx Evaluation Board");
|
printf("Board: Rainier - AMCC PPC440GRx Evaluation Board");
|
||||||
#endif
|
#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) {
|
if (s != NULL) {
|
||||||
puts(", serial# ");
|
puts(", serial# ");
|
||||||
puts(s);
|
puts(s);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user