forked from M-Labs/artiq-zynq
szl: invoke ps7_init::apply() at start
This commit is contained in:
parent
d8745074b4
commit
53d931dccc
|
@ -11,6 +11,7 @@ use libcortex_a9::cache::dcci_slice;
|
||||||
use libboard_zynq::{
|
use libboard_zynq::{
|
||||||
self as zynq, clocks::Clocks, clocks::source::{ClockSource, ArmPll, IoPll},
|
self as zynq, clocks::Clocks, clocks::source::{ClockSource, ArmPll, IoPll},
|
||||||
logger,
|
logger,
|
||||||
|
ps7_init,
|
||||||
timer::GlobalTimer,
|
timer::GlobalTimer,
|
||||||
};
|
};
|
||||||
use libsupport_zynq as _;
|
use libsupport_zynq as _;
|
||||||
|
@ -28,6 +29,8 @@ extern fn lzma_error(message: *const u8) {
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn main_core0() {
|
pub fn main_core0() {
|
||||||
|
ps7_init::apply();
|
||||||
|
|
||||||
GlobalTimer::start();
|
GlobalTimer::start();
|
||||||
logger::init().unwrap();
|
logger::init().unwrap();
|
||||||
log::set_max_level(log::LevelFilter::Debug);
|
log::set_max_level(log::LevelFilter::Debug);
|
||||||
|
|
Loading…
Reference in New Issue