diff options
| author | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:05:54 +0100 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:05:54 +0100 | 
| commit | 3e4d27b06d7484040355e22eec2cbce7335d6dab (patch) | |
| tree | 9672a2bb2e4ce0edc0ab776ddf0e2ca8e39a5f62 /arch/m68k/cpu/mcf5227x/cpu_init.c | |
| parent | bad05afe083eec0467220de21683443292c5012e (diff) | |
| parent | 59852d03867108217fe88e3bfc3e1e9cedfe63c5 (diff) | |
| download | olio-uboot-2014.01-3e4d27b06d7484040355e22eec2cbce7335d6dab.tar.xz olio-uboot-2014.01-3e4d27b06d7484040355e22eec2cbce7335d6dab.zip | |
Merge git://git.denx.de/u-boot
Diffstat (limited to 'arch/m68k/cpu/mcf5227x/cpu_init.c')
| -rw-r--r-- | arch/m68k/cpu/mcf5227x/cpu_init.c | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/arch/m68k/cpu/mcf5227x/cpu_init.c b/arch/m68k/cpu/mcf5227x/cpu_init.c index e23b20df9..1928eb384 100644 --- a/arch/m68k/cpu/mcf5227x/cpu_init.c +++ b/arch/m68k/cpu/mcf5227x/cpu_init.c @@ -31,6 +31,7 @@  #include <asm/immap.h>  #include <asm/io.h>  #include <asm/rtc.h> +#include <linux/compiler.h>  /*   * Breath some life into the CPU... @@ -41,12 +42,13 @@   */  void cpu_init_f(void)  { -	scm1_t *scm1 = (scm1_t *) MMAP_SCM1;  	gpio_t *gpio = (gpio_t *) MMAP_GPIO; -	fbcs_t *fbcs = (fbcs_t *) MMAP_FBCS; -	pll_t *pll = (pll_t *)MMAP_PLL; +	fbcs_t *fbcs __maybe_unused = (fbcs_t *) MMAP_FBCS;  #if !defined(CONFIG_CF_SBF) +	scm1_t *scm1 = (scm1_t *) MMAP_SCM1; +	pll_t *pll = (pll_t *)MMAP_PLL; +  	/* Workaround, must place before fbcs */  	out_be32(&pll->psr, 0x12); |