]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Change board message on AMCC Yosemite & Yellowstone to common style
authorStefan Roese <sr@denx.de>
Mon, 3 Oct 2005 13:27:50 +0000 (15:27 +0200)
committerStefan Roese <sr@denx.de>
Mon, 3 Oct 2005 13:27:50 +0000 (15:27 +0200)
Patch by Stefan Roese, 3 Oct 2005

CHANGELOG
board/amcc/yellowstone/yellowstone.c
board/amcc/yosemite/yosemite.c

index f5a16d8825b9ba8e229f4374268bab81f886f62e..cfea3c045c6477c8e091a3d62d1bbe86169b3f49 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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
index 982d8571e7b55f7accc97ed7e6217da76f518f31..4c0ae21ef34a866bfcbcd97cc1efce3d522b3d3f 100644 (file)
@@ -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);
 }
 
index b50e99ab8da481eb80082123acb79d15f1053edf..71907400234b198b0a40d43bdc420e4ce5e3edb6 100644 (file)
@@ -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);
 }