From: Daniel Gorsulowski Date: Thu, 23 Apr 2009 13:37:16 +0000 (+0200) Subject: at91: fixed plla calc when no USB support is active X-Git-Tag: v2009.06-rc1~7^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1e5f93185d0d85a4b3fad3b6c743cddcd373b0c;p=u-boot at91: fixed plla calc when no USB support is active Signed-off-by: Daniel Gorsulowski Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/cpu/arm926ejs/at91/clock.c b/cpu/arm926ejs/at91/clock.c index 31e53b30dd..f776f70b11 100644 --- a/cpu/arm926ejs/at91/clock.c +++ b/cpu/arm926ejs/at91/clock.c @@ -126,6 +126,7 @@ static unsigned at91_pll_calc(unsigned main_freq, unsigned out_freq) fail: return 0; } +#endif static u32 at91_pll_rate(u32 freq, u32 reg) { @@ -141,7 +142,6 @@ static u32 at91_pll_rate(u32 freq, u32 reg) return freq; } -#endif int at91_clock_init(unsigned long main_clock) {