From 3daf204fe965b5a87d06638f2b5f8d5352f6af2a Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Thu, 5 Jun 2025 16:11:21 +0800 Subject: [PATCH] portio_mec: Don't print init Would also appear on non-mec systems if we can't detect whether they have mec or not. Signed-off-by: Daniel Schaefer --- framework_lib/src/chromium_ec/portio_mec.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/framework_lib/src/chromium_ec/portio_mec.rs b/framework_lib/src/chromium_ec/portio_mec.rs index 774acb9..1f855d0 100644 --- a/framework_lib/src/chromium_ec/portio_mec.rs +++ b/framework_lib/src/chromium_ec/portio_mec.rs @@ -25,7 +25,6 @@ const _MEC_LPC_DATA_REGISTER3: u16 = 0x0807; pub fn init() -> bool { #[cfg(target_os = "linux")] unsafe { - println!("Init MEC"); let res = ioperm(EC_LPC_ADDR_HOST_DATA as u64, 8, 1); if res != 0 { error!("ioperm failed. portio driver is likely block by Linux kernel lockdown mode");