From be038e56aa7d338678ea889909473bec2881fc1d Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 21 Oct 2025 19:11:52 +0800 Subject: [PATCH] cleanup comments figured out why the data region acl wouldn't write - had to be in boot0 declared mode --- libs/bao1x-hal/src/acram.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libs/bao1x-hal/src/acram.rs b/libs/bao1x-hal/src/acram.rs index 439038fa1..1a14e3000 100644 --- a/libs/bao1x-hal/src/acram.rs +++ b/libs/bao1x-hal/src/acram.rs @@ -397,16 +397,6 @@ impl SlotManager { match slot { SlotIndex::Data(_, _, _) => { let offset = slot.try_into_acl_offset()?; - /* - // data slots aren't updating - but I think this might be a misunderstanding of how - // the HW works, and not actually a code bug. Keep this around until resolved. - crate::println!( - "updating ACL at offset {:x} with {:?}; final address: {:x}", - offset, - setting, - self.data_acl_range.as_ptr() as usize - utralib::HW_RERAM_MEM + offset - ); - */ writer .protected_write_slice( self.data_acl_range.as_ptr() as usize - utralib::HW_RERAM_MEM + offset,