szl: invoke ps7_init::apply() at start

This commit is contained in:
Astro 2020-06-27 02:36:36 +02:00
parent d8745074b4
commit 53d931dccc
1 changed files with 3 additions and 0 deletions

View File

@ -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);