diff options
author | Marian Balakowicz <m8@semihalf.com> | 2006-07-03 23:42:36 +0200 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2006-07-03 23:42:36 +0200 |
commit | fe84b48a94beb88a977a88e3d14b6ea882cdc91a (patch) | |
tree | 6a51e79a415e1f7f33d37014483c7895b0ebf00a /board | |
parent | bba68377320608b3c3f7c0fef30452bdaa8b0408 (diff) |
Cleanup config file and bootup output for Yucca board.
Diffstat (limited to 'board')
-rw-r--r-- | board/amcc/yucca/yucca.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/board/amcc/yucca/yucca.c b/board/amcc/yucca/yucca.c index 8fb4cfa884..1ae3a549b9 100644 --- a/board/amcc/yucca/yucca.c +++ b/board/amcc/yucca/yucca.c @@ -541,18 +541,15 @@ int board_early_init_f (void) int checkboard (void) { - sys_info_t sysinfo; - - get_sys_info (&sysinfo); - - printf ("Board: AMCC 440SPe Evaluation Board\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 ("\tEPB: %lu MHz\n", sysinfo.freqEPB / 1000000); - printf ("\tPCI: %lu MHz\n", sysinfo.freqPCI / 1000000); - printf ("\tDDR: %lu MHz\n", sysinfo.freqDDR / 1000000); + char *s = getenv("serial#"); + + printf("Board: Yucca - AMCC 440SPe Evaluation Board"); + if (s != NULL) { + puts(", serial# "); + puts(s); + } + putc('\n'); + return 0; } |