mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
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: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
62625c0b08
commit
1fbcbe9a95
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ int checkboard (void)
|
||||||
#else
|
#else
|
||||||
printf ("Board: Wind River SBC8540 Board\n");
|
printf ("Board: Wind River SBC8540 Board\n");
|
||||||
#endif
|
#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 ("\tCCB: %s MHz\n", strmhz(buf, sysinfo.freqSystemBus));
|
||||||
printf ("\tDDR: %s MHz\n", strmhz(buf, sysinfo.freqSystemBus/2));
|
printf ("\tDDR: %s MHz\n", strmhz(buf, sysinfo.freqSystemBus/2));
|
||||||
if((CONFIG_SYS_LBC_LCRR & 0x0f) == 2 || (CONFIG_SYS_LBC_LCRR & 0x0f) == 4 \
|
if((CONFIG_SYS_LBC_LCRR & 0x0f) == 2 || (CONFIG_SYS_LBC_LCRR & 0x0f) == 4 \
|
||||||
|
|
Loading…
Add table
Reference in a new issue