From 8cf0fa01a17a641f6086315fd0f4254b1432b7fd Mon Sep 17 00:00:00 2001 From: newell Date: Sat, 16 Nov 2024 18:04:16 -0800 Subject: [PATCH] Remove 150 MHz option from set_fclk0_freq --- src/runtime/src/rtio_clocking.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/runtime/src/rtio_clocking.rs b/src/runtime/src/rtio_clocking.rs index e54fd8f..abe78c0 100644 --- a/src/runtime/src/rtio_clocking.rs +++ b/src/runtime/src/rtio_clocking.rs @@ -425,14 +425,6 @@ fn set_fclk0_freq(clk: RtioClock, cfg: &Config) { target_freq = 125_000_000; divisor0 = 8; } - RtioClock::Int_150 => { - target_freq = 150_000_000; - divisor0 = 7; // Closest approximation to 150 MHz - warn!( - "Closest achievable FCLK0 frequency for RTIO Clock 150 MHz is {:.2} MHz (divider 7).", - io_pll_freq as f64 / divisor0 as f64 - ); - } _ => { warn!("Unsupported RTIO Clock: '{:?}'", clk); return; @@ -479,7 +471,7 @@ pub fn init(timer: &mut GlobalTimer, cfg: &Config) { #[cfg(feature = "target_ebaz4205")] { match clk { - RtioClock::Int_100 | RtioClock::Int_125 | RtioClock::Int_150 => { + RtioClock::Int_100 | RtioClock::Int_125 => { set_fclk0_freq(clk, cfg); } _ => {} // Not set for external clocks