summaryrefslogtreecommitdiff
path: root/cpu/mcf5227x/cpu_init.c
diff options
context:
space:
mode:
authorTsiChung Liew <tsicliew@gmail.com>2009-07-22 18:42:45 +0000
committerTsiChung Liew <Tsi-Chung.Liew@freescale.com>2009-08-26 03:44:31 -0500
commitf6a309080b2da9e509b5ee8d091dca5e175415b7 (patch)
treecab78d91196db8e3a3180e08ccbf75b3ddf4809b /cpu/mcf5227x/cpu_init.c
parent88c811b153771a3d1bfe958297c69722efb278e9 (diff)
downloadu-boot-imx-f6a309080b2da9e509b5ee8d091dca5e175415b7.zip
u-boot-imx-f6a309080b2da9e509b5ee8d091dca5e175415b7.tar.gz
u-boot-imx-f6a309080b2da9e509b5ee8d091dca5e175415b7.tar.bz2
ColdFire: Fix compile warning messages
Change %08lX to %08X in board.c. Remove unused variable 'oscillator' in mcf5227x/cpu_init.c and 'scm2' in mcf532x/cpu_init.c. Provide argument type cast in drivers/dma/MCD_dmaApi.c. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
Diffstat (limited to 'cpu/mcf5227x/cpu_init.c')
-rw-r--r--cpu/mcf5227x/cpu_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cpu/mcf5227x/cpu_init.c b/cpu/mcf5227x/cpu_init.c
index d8bcf37..e160ee1 100644
--- a/cpu/mcf5227x/cpu_init.c
+++ b/cpu/mcf5227x/cpu_init.c
@@ -117,7 +117,6 @@ int cpu_init_r(void)
#ifdef CONFIG_MCFRTC
volatile rtc_t *rtc = (volatile rtc_t *)(CONFIG_SYS_MCFRTC_BASE);
volatile rtcex_t *rtcex = (volatile rtcex_t *)&rtc->extended;
- u32 oscillator = CONFIG_SYS_RTC_OSCILLATOR;
rtcex->gocu = (CONFIG_SYS_RTC_OSCILLATOR >> 16) & 0xFFFF;
rtcex->gocl = CONFIG_SYS_RTC_OSCILLATOR & 0xFFFF;