Skip to content
Snippets Groups Projects
Commit e3779209 authored by Kumar Gala's avatar Kumar Gala
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent 502dd36b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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