From 320097a29dbf3a521573b131c75b357e1645002a Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 20 Oct 2022 04:20:03 +0800 Subject: [PATCH] toggle out core assembly when soft flush is used --- services/spinor/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/services/spinor/src/main.rs b/services/spinor/src/main.rs index 70c626740..b7ce3bb88 100644 --- a/services/spinor/src/main.rs +++ b/services/spinor/src/main.rs @@ -528,6 +528,7 @@ mod implementation { #[inline] fn flush_dcache(&self, _start: u32, _len: u32) { // This instruction seems to be causing instability, omit it... + #[cfg(not(feature="extra_flush"))] unsafe { core::arch::asm!( ".word 0x500F",