summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-01-28 23:06:42 +0100
committerWolfgang Denk <wd@denx.de>2009-01-28 23:10:32 +0100
commit1fbcbe9a95f39afb2df6ab8cba25b284b47ebfb2 (patch)
treeda15cba41b24f65571cdd08181b5cd1ca448e93e
parent62625c0b081bd4019cecab14e9fc2e05e48d2a58 (diff)
downloadu-boot-imx-1fbcbe9a95f39afb2df6ab8cba25b284b47ebfb2.zip
u-boot-imx-1fbcbe9a95f39afb2df6ab8cba25b284b47ebfb2.tar.gz
u-boot-imx-1fbcbe9a95f39afb2df6ab8cba25b284b47ebfb2.tar.bz2
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>
-rw-r--r--board/sbc8560/sbc8560.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sbc8560/sbc8560.c b/board/sbc8560/sbc8560.c
index 3d4008b..7f032c8 100644
--- a/board/sbc8560/sbc8560.c
+++ b/board/sbc8560/sbc8560.c
@@ -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 \