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::{
self as zynq, clocks::Clocks, clocks::source::{ClockSource, ArmPll, IoPll},
logger,
ps7_init,
timer::GlobalTimer,
};
use libsupport_zynq as _;
@ -28,6 +29,8 @@ extern fn lzma_error(message: *const u8) {
#[no_mangle]
pub fn main_core0() {
ps7_init::apply();
GlobalTimer::start();
logger::init().unwrap();
log::set_max_level(log::LevelFilter::Debug);