summaryrefslogtreecommitdiffstats
path: root/firmware/zpu/lib/clocks.c
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-03-06 18:51:31 -0800
committerJosh Blum <josh@joshknows.com>2012-03-23 14:36:56 -0700
commit672a77767faf0070e94de0c8acd74328a301cae5 (patch)
tree9d838d8d2b7452660fac6aa8e110d3d4ed3a7b9a /firmware/zpu/lib/clocks.c
parent12223186e7ba8a433ef13945a0e4f4077a3a5542 (diff)
downloaduhd-672a77767faf0070e94de0c8acd74328a301cae5.tar.gz
uhd-672a77767faf0070e94de0c8acd74328a301cae5.tar.bz2
uhd-672a77767faf0070e94de0c8acd74328a301cae5.zip
fifo ctrl: ~usrp2_fifo_ctrl acks, usrp2 DCM workaround, bootloader no blinkie
Diffstat (limited to 'firmware/zpu/lib/clocks.c')
-rw-r--r--firmware/zpu/lib/clocks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/zpu/lib/clocks.c b/firmware/zpu/lib/clocks.c
index c1e8ce827..bc1954e13 100644
--- a/firmware/zpu/lib/clocks.c
+++ b/firmware/zpu/lib/clocks.c
@@ -43,7 +43,10 @@ clocks_init(void)
//enable the 100MHz clock output to the FPGA for 50MHz CPU clock
clocks_enable_fpga_clk(true, 1);
- spi_wait();
+ //! Cannot SPI wait since SPI is on DSP clock
+ //! because DSP clock goes away until DCM reset.
+ //! However, spi is quick, the cpu is slow, its already ready...
+ //spi_wait();
//wait for the clock to stabilize
while(!clocks_lock_detect());