Skip to content
Snippets Groups Projects
Commit 1fbcbe9a authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

85xx: Fix compile breakage with sbc8540 and sbc8560


This fixes an error which raises just a warning:
sbc8560.c:250: warning: passing argument 2 of 'strmhz' makes integer from pointer without a cast

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 62625c0b
No related branches found
No related tags found
No related merge requests found
......@@ -247,7 +247,7 @@ int checkboard (void)
#else
printf ("Board: Wind River SBC8540 Board\n");
#endif
printf ("\tCPU: %s MHz\n", strmhz(buf, sysinfo.freqProcessor));
printf ("\tCPU: %s MHz\n", strmhz(buf, sysinfo.freqProcessor[0]));
printf ("\tCCB: %s MHz\n", strmhz(buf, sysinfo.freqSystemBus));
printf ("\tDDR: %s MHz\n", strmhz(buf, sysinfo.freqSystemBus/2));
if((CONFIG_SYS_LBC_LCRR & 0x0f) == 2 || (CONFIG_SYS_LBC_LCRR & 0x0f) == 4 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment