summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8569mds
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-11-09 10:03:12 -0600
committerKumar Gala <galak@kernel.crashing.org>2011-11-11 07:49:00 -0600
commite3779209ddd40f52874b27a7bca3c0a153c5ad90 (patch)
tree0655d1e2241a96c606d94814e2db6a7328fe6107 /board/freescale/mpc8569mds
parent502dd36b78b4b0d1b9e347609f53782f66b5edf3 (diff)
downloadu-boot-imx-e3779209ddd40f52874b27a7bca3c0a153c5ad90.zip
u-boot-imx-e3779209ddd40f52874b27a7bca3c0a153c5ad90.tar.gz
u-boot-imx-e3779209ddd40f52874b27a7bca3c0a153c5ad90.tar.bz2
board/freescale/mpc8569mds/mpc8569mds.c: Fix GCC 4.6 build warning
mpc8569mds.c: In function 'local_bus_init': mpc8569mds.c:306:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable] Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8569mds')
-rw-r--r--board/freescale/mpc8569mds/mpc8569mds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/freescale/mpc8569mds/mpc8569mds.c b/board/freescale/mpc8569mds/mpc8569mds.c
index 89557d2..d119c65 100644
--- a/board/freescale/mpc8569mds/mpc8569mds.c
+++ b/board/freescale/mpc8569mds/mpc8569mds.c
@@ -303,12 +303,10 @@ local_bus_init(void)
volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
uint clkdiv;
- uint lbc_hz;
sys_info_t sysinfo;
get_sys_info(&sysinfo);
clkdiv = (lbc->lcrr & LCRR_CLKDIV) * 2;
- lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv;
out_be32(&gur->lbiuiplldcr1, 0x00078080);
if (clkdiv == 16)