Skip to content

Commit 39d57b7

Browse files
committed
WIP: Read customized memmap
Doesn't work Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 698be31 commit 39d57b7

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
@@ -1700,9 +1700,9 @@ impl CrosEcDriver for CrosEc {
17001700
}
17011701

17021702
debug!("read_memory(offset={:#X}, size={:#X})", offset, length);
1703-
if offset + length > EC_MEMMAP_SIZE {
1704-
return None;
1705-
}
1703+
//if offset + length > EC_MEMMAP_SIZE {
1704+
// return None;
1705+
//}
17061706

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

0 commit comments

Comments
 (0)