mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
Change board message on AMCC Yosemite & Yellowstone to common style
Patch by Stefan Roese, 3 Oct 2005
This commit is contained in:
parent
2c7b2ab5a0
commit
93b17ec382
3 changed files with 21 additions and 6 deletions
|
@ -2,6 +2,9 @@
|
|||
Changes for U-Boot 1.1.4:
|
||||
======================================================================
|
||||
|
||||
* Change board message on AMCC Yosemite & Yellowstone to common style
|
||||
Patch by Stefan Roese, 3 Oct 2005
|
||||
|
||||
* Fix FEC PHY addresses for TQM85xx boards
|
||||
|
||||
* Fix uninitialized variable problem in hush shell
|
||||
|
|
|
@ -180,18 +180,24 @@ int misc_init_r (void)
|
|||
int checkboard(void)
|
||||
{
|
||||
sys_info_t sysinfo;
|
||||
unsigned char *s = getenv("serial#");
|
||||
|
||||
get_sys_info(&sysinfo);
|
||||
|
||||
printf("Board: AMCC YELLOWSTONE\n");
|
||||
printf("Board: Yellowstone - AMCC PPC440GR Evaluation Board");
|
||||
if (s != NULL) {
|
||||
puts(", serial# ");
|
||||
puts(s);
|
||||
}
|
||||
putc('\n');
|
||||
|
||||
printf("\tVCO: %lu MHz\n", sysinfo.freqVCOMhz / 1000000);
|
||||
printf("\tCPU: %lu MHz\n", sysinfo.freqProcessor / 1000000);
|
||||
printf("\tPLB: %lu MHz\n", sysinfo.freqPLB / 1000000);
|
||||
printf("\tOPB: %lu MHz\n", sysinfo.freqOPB / 1000000);
|
||||
printf("\tPER: %lu MHz\n", sysinfo.freqEPB / 1000000);
|
||||
printf("\tEPB: %lu MHz\n", sysinfo.freqEPB / 1000000);
|
||||
printf("\tPCI: %lu MHz\n", sysinfo.freqPCI / 1000000);
|
||||
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
|
|
@ -176,18 +176,24 @@ int misc_init_r (void)
|
|||
int checkboard(void)
|
||||
{
|
||||
sys_info_t sysinfo;
|
||||
unsigned char *s = getenv("serial#");
|
||||
|
||||
get_sys_info(&sysinfo);
|
||||
|
||||
printf("Board: AMCC YOSEMITE\n");
|
||||
printf("Board: Yosemite - AMCC PPC440EP Evaluation Board");
|
||||
if (s != NULL) {
|
||||
puts(", serial# ");
|
||||
puts(s);
|
||||
}
|
||||
putc('\n');
|
||||
|
||||
printf("\tVCO: %lu MHz\n", sysinfo.freqVCOMhz / 1000000);
|
||||
printf("\tCPU: %lu MHz\n", sysinfo.freqProcessor / 1000000);
|
||||
printf("\tPLB: %lu MHz\n", sysinfo.freqPLB / 1000000);
|
||||
printf("\tOPB: %lu MHz\n", sysinfo.freqOPB / 1000000);
|
||||
printf("\tPER: %lu MHz\n", sysinfo.freqEPB / 1000000);
|
||||
printf("\tEPB: %lu MHz\n", sysinfo.freqEPB / 1000000);
|
||||
printf("\tPCI: %lu MHz\n", sysinfo.freqPCI / 1000000);
|
||||
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue