mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-31 07:13:44 +09:00
at91: fixed plla calc when no USB support is active
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
3791a1187c
commit
a1e5f93185
@ -126,6 +126,7 @@ static unsigned at91_pll_calc(unsigned main_freq, unsigned out_freq)
|
|||||||
fail:
|
fail:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static u32 at91_pll_rate(u32 freq, u32 reg)
|
static u32 at91_pll_rate(u32 freq, u32 reg)
|
||||||
{
|
{
|
||||||
@ -141,7 +142,6 @@ static u32 at91_pll_rate(u32 freq, u32 reg)
|
|||||||
|
|
||||||
return freq;
|
return freq;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
int at91_clock_init(unsigned long main_clock)
|
int at91_clock_init(unsigned long main_clock)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user