diff options
author | Stefan Roese <sr@denx.de> | 2005-11-27 19:36:26 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2005-11-27 19:36:26 +0100 |
commit | 3d9569b2329802c36ec834ff2a851b11bb706288 (patch) | |
tree | 077f05b070ea5038baf55057f7224584a208f0a1 /board/amcc/yosemite | |
parent | f08abe311b41633b550520de50d4c0ff1fbf2800 (diff) | |
download | u-boot-imx-3d9569b2329802c36ec834ff2a851b11bb706288.zip u-boot-imx-3d9569b2329802c36ec834ff2a851b11bb706288.tar.gz u-boot-imx-3d9569b2329802c36ec834ff2a851b11bb706288.tar.bz2 |
Changed PPC44x startup message (cpu info, speed...) to common style:
On PPC44x platforms, the startup message generated in "cpu.c" only
comprised the ppc type and revision but not additional informations
like speed etc. Those speed infos where printed in the board specific
code. This new implementation now prints all CPU infos in the common
cpu specific code. No board specific code is needed anymore and
therefore removed from all current 44x implementations.
Patch by Stefan Roese, 27 Nov 2005
Diffstat (limited to 'board/amcc/yosemite')
-rw-r--r-- | board/amcc/yosemite/yosemite.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/board/amcc/yosemite/yosemite.c b/board/amcc/yosemite/yosemite.c index 61a39be..a5cf8b6 100644 --- a/board/amcc/yosemite/yosemite.c +++ b/board/amcc/yosemite/yosemite.c @@ -184,10 +184,7 @@ int misc_init_r (void) int checkboard(void) { - sys_info_t sysinfo; - unsigned char *s = getenv("serial#"); - - get_sys_info(&sysinfo); + char *s = getenv("serial#"); printf("Board: Yosemite - AMCC PPC440EP Evaluation Board"); if (s != NULL) { @@ -196,13 +193,6 @@ int checkboard(void) } 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("\tEPB: %lu MHz\n", sysinfo.freqEPB / 1000000); - printf("\tPCI: %lu MHz\n", sysinfo.freqPCI / 1000000); - return (0); } |