From 6e6612bc3e12e50b4f6e61cde47100c3d4ab982a Mon Sep 17 00:00:00 2001 From: pca006132 Date: Tue, 26 Jan 2021 11:19:33 +0800 Subject: [PATCH] szl: move enable l2c to artiq-zynq --- szl/src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/szl/src/main.rs b/szl/src/main.rs index 98f21a3..d37668a 100644 --- a/szl/src/main.rs +++ b/szl/src/main.rs @@ -20,7 +20,6 @@ use libconfig::{bootgen, sd_reader, Config}; use libcortex_a9::{ asm::{dsb, isb}, cache::{bpiall, dcciall, iciallu}, - l2c::enable_l2_cache, }; use libregister::RegisterR; use libsupport_zynq::ram; @@ -80,7 +79,6 @@ pub fn main_core0() { "# ); info!("Simple Zynq Loader starting..."); - enable_l2_cache(); const CPU_FREQ: u32 = 800_000_000;