summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-01-28 08:31:10 -0600
committerWolfgang Denk <wd@denx.de>2009-01-28 21:01:52 +0100
commit9cda4f104b5313fadc21b75aa781c7a6aaf6ea60 (patch)
treea87585688813243a8255e4de3dd23dcab620cbf4 /board
parent2b6fd5c77db9c6ed3cea9799c86ff922cf0107b2 (diff)
downloadu-boot-imx-9cda4f104b5313fadc21b75aa781c7a6aaf6ea60.zip
u-boot-imx-9cda4f104b5313fadc21b75aa781c7a6aaf6ea60.tar.gz
u-boot-imx-9cda4f104b5313fadc21b75aa781c7a6aaf6ea60.tar.bz2
85xx: Fix compile breakage with MPC8540EVAL
Configuring for MPC8540EVAL board... mpc8540eval.c: In function 'checkboard': mpc8540eval.c:53: error: invalid operands to binary / make[1]: *** [mpc8540eval.o] Error 1 Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board')
-rw-r--r--board/mpc8540eval/mpc8540eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpc8540eval/mpc8540eval.c b/board/mpc8540eval/mpc8540eval.c
index bf270f4..72a1ad3 100644
--- a/board/mpc8540eval/mpc8540eval.c
+++ b/board/mpc8540eval/mpc8540eval.c
@@ -50,7 +50,7 @@ int checkboard (void)
get_sys_info (&sysinfo);
printf ("Board: Freescale MPC8540EVAL Board\n");
- printf ("\tCPU: %lu MHz\n", sysinfo.freqProcessor / 1000000);
+ printf ("\tCPU: %lu MHz\n", sysinfo.freqProcessor[0] / 1000000);
printf ("\tCCB: %lu MHz\n", sysinfo.freqSystemBus / 1000000);
printf ("\tDDR: %lu MHz\n", sysinfo.freqSystemBus / 2000000);
if((CONFIG_SYS_LBC_LCRR & 0x0f) == 2 || (CONFIG_SYS_LBC_LCRR & 0x0f) == 4 \