forked from M-Labs/zynq-rs
szl: move enable l2c to artiq-zynq
This commit is contained in:
parent
b50540915d
commit
6e6612bc3e
|
@ -20,7 +20,6 @@ use libconfig::{bootgen, sd_reader, Config};
|
||||||
use libcortex_a9::{
|
use libcortex_a9::{
|
||||||
asm::{dsb, isb},
|
asm::{dsb, isb},
|
||||||
cache::{bpiall, dcciall, iciallu},
|
cache::{bpiall, dcciall, iciallu},
|
||||||
l2c::enable_l2_cache,
|
|
||||||
};
|
};
|
||||||
use libregister::RegisterR;
|
use libregister::RegisterR;
|
||||||
use libsupport_zynq::ram;
|
use libsupport_zynq::ram;
|
||||||
|
@ -80,7 +79,6 @@ pub fn main_core0() {
|
||||||
"#
|
"#
|
||||||
);
|
);
|
||||||
info!("Simple Zynq Loader starting...");
|
info!("Simple Zynq Loader starting...");
|
||||||
enable_l2_cache();
|
|
||||||
|
|
||||||
const CPU_FREQ: u32 = 800_000_000;
|
const CPU_FREQ: u32 = 800_000_000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue