mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[xburst] Add per board struct describing the external clock setup.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19783 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -873,7 +873,7 @@ void jz4740_clock_udc_enable_auto_suspend(void)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(jz4740_clock_udc_enable_auto_suspend);
|
||||
|
||||
int jz_init_clocks(unsigned long ext_rate)
|
||||
int jz_init_clocks(void)
|
||||
{
|
||||
uint32_t val;
|
||||
|
||||
@@ -883,7 +883,8 @@ int jz_init_clocks(unsigned long ext_rate)
|
||||
|
||||
spin_lock_init(&jz_clock_lock);
|
||||
|
||||
jz_clk_ext.rate = ext_rate;
|
||||
jz_clk_ext.rate = jz4740_clock_bdata.ext_rate;
|
||||
jz_clk_rtc.rate = jz4740_clock_bdata.rtc_rate;
|
||||
|
||||
val = jz_clk_reg_read(JZ_REG_CLOCK_SPI);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user