Skip to content

Commit e79fd88

Browse files
committed
WIP: Read customized memmap
Doesn't work Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 16d982b commit e79fd88

File tree

1 file changed

+3
-3
lines changed
  • framework_lib/src/chromium_ec

1 file changed

+3
-3
lines changed

framework_lib/src/chromium_ec/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,9 +1617,9 @@ impl CrosEcDriver for CrosEc {
16171617
}
16181618

16191619
debug!("read_memory(offset={:#X}, size={:#X})", offset, length);
1620-
if offset + length > EC_MEMMAP_SIZE {
1621-
return None;
1622-
}
1620+
//if offset + length > EC_MEMMAP_SIZE {
1621+
// return None;
1622+
//}
16231623

16241624
// TODO: Change this function to return EcResult instead and print the error only in UI code
16251625
print_err(match self.driver {

0 commit comments

Comments
 (0)