diff --git a/loader/src/main.rs b/loader/src/main.rs index 6b4920135..3a664c37a 100644 --- a/loader/src/main.rs +++ b/loader/src/main.rs @@ -1743,6 +1743,7 @@ fn check_resume(cfg: &mut BootConfig) -> (bool, bool, u32) { (clean, was_forced_suspend, pid) } +#[cfg(not(feature="simulation-only"))] fn clear_ram(cfg: &mut BootConfig) { // clear RAM on a cold boot. // RAM is persistent and battery-backed. This means secret material could potentially