diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-11-09 10:03:26 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-11-11 07:49:00 -0600 |
commit | dbe128a9bd60cb5a292c7daeec3a7a13f5d142b8 (patch) | |
tree | 8e65c2c9796ace8f970092ac74818cdfe29c6176 /board | |
parent | e3779209ddd40f52874b27a7bca3c0a153c5ad90 (diff) | |
download | u-boot-imx-dbe128a9bd60cb5a292c7daeec3a7a13f5d142b8.zip u-boot-imx-dbe128a9bd60cb5a292c7daeec3a7a13f5d142b8.tar.gz u-boot-imx-dbe128a9bd60cb5a292c7daeec3a7a13f5d142b8.tar.bz2 |
board/sbc8548/sbc8548.c: Fix GCC 4.6 build warning
Fix:
sbc8548.c: In function 'local_bus_init':
sbc8548.c:80: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')
-rw-r--r-- | board/sbc8548/sbc8548.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c index e1a3ea3..26095a5 100644 --- a/board/sbc8548/sbc8548.c +++ b/board/sbc8548/sbc8548.c @@ -77,12 +77,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 = (in_be32(&lbc->lcrr) & LCRR_CLKDIV) * 2; - lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv; out_be32(&gur->lbiuiplldcr1, 0x00078080); if (clkdiv == 16) { |