From 53d931dccc9246571ba6dd09e35c487b7c0c5e05 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 27 Jun 2020 02:36:36 +0200 Subject: [PATCH] szl: invoke ps7_init::apply() at start --- src/szl/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/szl/src/main.rs b/src/szl/src/main.rs index 8b89469..2570f47 100644 --- a/src/szl/src/main.rs +++ b/src/szl/src/main.rs @@ -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);