do not set_window back to CHIPCOMMON_BASE_ADDRESS

This commit is contained in:
Brandon Ros 2023-08-22 18:53:33 -04:00
parent 16054e1f1e
commit b784e60c50

View File

@ -257,8 +257,6 @@ where
debug!("backplane_readn addr = {:08x} len = {} val = {:08x}", addr, len, val); debug!("backplane_readn addr = {:08x} len = {} val = {:08x}", addr, len, val);
self.backplane_set_window(CHIP.pmu_base_address).await;
return val; return val;
} }
@ -272,8 +270,6 @@ where
bus_addr |= BACKPLANE_ADDRESS_32BIT_FLAG; bus_addr |= BACKPLANE_ADDRESS_32BIT_FLAG;
} }
self.writen(FUNC_BACKPLANE, bus_addr, val, len).await; self.writen(FUNC_BACKPLANE, bus_addr, val, len).await;
self.backplane_set_window(CHIP.pmu_base_address).await;
} }
async fn backplane_set_window(&mut self, addr: u32) { async fn backplane_set_window(&mut self, addr: u32) {