diff options
| author | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
|---|---|---|
| committer | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
| commit | 50bd0057ba8fceeb48533f8b1a652ccd0e170838 (patch) | |
| tree | ea1a183343573c2a48248923b96d316c0956727c /cpu/at32ap/cpu.c | |
| parent | 9dbc366744960013965fce8851035b6141f3b3ae (diff) | |
| parent | f82642e33899766892499b163e60560fbbf87773 (diff) | |
| download | olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.tar.xz olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.zip | |
Merge git://git.denx.de/u-boot into x1
Conflicts:
	drivers/usb/usb_ohci.c
Diffstat (limited to 'cpu/at32ap/cpu.c')
| -rw-r--r-- | cpu/at32ap/cpu.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/cpu/at32ap/cpu.c b/cpu/at32ap/cpu.c index 1a1370289..f92d3e217 100644 --- a/cpu/at32ap/cpu.c +++ b/cpu/at32ap/cpu.c @@ -32,12 +32,12 @@  #include "hsmc3.h"  /* Sanity checks */ -#if (CFG_CLKDIV_CPU > CFG_CLKDIV_HSB)		\ -	|| (CFG_CLKDIV_HSB > CFG_CLKDIV_PBA)	\ -	|| (CFG_CLKDIV_HSB > CFG_CLKDIV_PBB) +#if (CONFIG_SYS_CLKDIV_CPU > CONFIG_SYS_CLKDIV_HSB)		\ +	|| (CONFIG_SYS_CLKDIV_HSB > CONFIG_SYS_CLKDIV_PBA)	\ +	|| (CONFIG_SYS_CLKDIV_HSB > CONFIG_SYS_CLKDIV_PBB)  # error Constraint fCPU >= fHSB >= fPB{A,B} violated  #endif -#if defined(CONFIG_PLL) && ((CFG_PLL0_MUL < 1) || (CFG_PLL0_DIV < 1)) +#if defined(CONFIG_PLL) && ((CONFIG_SYS_PLL0_MUL < 1) || (CONFIG_SYS_PLL0_DIV < 1))  # error Invalid PLL multiplier and/or divider  #endif @@ -47,7 +47,7 @@ int cpu_init(void)  {  	extern void _evba(void); -	gd->cpu_hz = CFG_OSC0_HZ; +	gd->cpu_hz = CONFIG_SYS_OSC0_HZ;  	/* TODO: Move somewhere else, but needs to be run before we  	 * increase the clock frequency. */ |