From af0b94bb348c40875e7032b8dd50098de922b377 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Fri, 28 Oct 2022 17:32:12 +0800 Subject: [PATCH] rtio_clock: remove 150MHz support --- artiq/firmware/runtime/rtio_clocking.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/artiq/firmware/runtime/rtio_clocking.rs b/artiq/firmware/runtime/rtio_clocking.rs index 1c61437d9..8c44cca4f 100644 --- a/artiq/firmware/runtime/rtio_clocking.rs +++ b/artiq/firmware/runtime/rtio_clocking.rs @@ -12,7 +12,6 @@ pub enum RtioClock { Default, Int_125, Int_100, - Int_150, Ext0_Bypass, Ext0_Synth0_10to125, Ext0_Synth0_100to125, @@ -25,7 +24,6 @@ fn get_rtio_clock_cfg() -> RtioClock { let res = match result { Ok("int_125") => RtioClock::Int_125, Ok("int_100") => RtioClock::Int_100, - Ok("int_150") => RtioClock::Int_150, Ok("ext0_bypass") => RtioClock::Ext0_Bypass, Ok("ext0_bypass_125") => RtioClock::Ext0_Bypass, Ok("ext0_bypass_100") => RtioClock::Ext0_Bypass, @@ -56,8 +54,6 @@ fn get_rtio_clock_cfg() -> RtioClock { return RtioClock::Ext0_Synth0_125to125; #[cfg(all(rtio_frequency = "125.0", not(si5324_ext_ref)))] return RtioClock::Int_125; - #[cfg(all(rtio_frequency = "150.0", not(si5324_ext_ref), not(soc_platform = "kasli")))] - return RtioClock::Int_150; #[cfg(all(rtio_frequency = "100.0", not(si5324_ext_ref), not(soc_platform = "kasli")))] return RtioClock::Int_100; //in case nothing is set @@ -161,19 +157,6 @@ fn setup_si5324_as_synthesizer(cfg: RtioClock) { crystal_ref: false } }, - RtioClock::Int_150 => { // 150MHz output, from crystal - info!("using internal 150MHz RTIO clock"); - si5324::FrequencySettings { - n1_hs : 9, - nc1_ls : 4, - n2_hs : 10, - n2_ls : 33732, - n31 : 7139, - n32 : 7139, - bwsel : 3, - crystal_ref: true - } - }, RtioClock::Int_100 => { // 100MHz output, from crystal. Also used as reference for Sayma HMC830. info!("using internal 100MHz RTIO clock"); si5324::FrequencySettings {