szl: change CPU frequency of Kasli-SoC to 1 GHz

pull/99/head
occheung 7 months ago
parent 6cd32f6ee0
commit 043a152b91
  1. 4
      szl/src/main.rs

@ -80,8 +80,12 @@ pub fn main_core0() {
);
info!("Simple Zynq Loader starting...");
#[cfg(not(feature = "target_kasli_soc"))]
const CPU_FREQ: u32 = 800_000_000;
#[cfg(feature = "target_kasli_soc")]
const CPU_FREQ: u32 = 1_000_000_000;
ArmPll::setup(2 * CPU_FREQ);
Clocks::set_cpu_freq(CPU_FREQ);
IoPll::setup(1_000_000_000);

Loading…
Cancel
Save