From 93b17ec382b4b0adcba563786062752f8b3134d6 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Mon, 3 Oct 2005 15:27:50 +0200 Subject: Change board message on AMCC Yosemite & Yellowstone to common style Patch by Stefan Roese, 3 Oct 2005 --- board/amcc/yosemite/yosemite.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'board/amcc/yosemite') diff --git a/board/amcc/yosemite/yosemite.c b/board/amcc/yosemite/yosemite.c index b50e99a..7190740 100644 --- a/board/amcc/yosemite/yosemite.c +++ b/board/amcc/yosemite/yosemite.c @@ -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); } -- cgit v1.1