Skip to content

Commit faf4551

Browse files
committed
Check i3c-core BUS_ENABLE for i3c readyness
1 parent c2b5cf2 commit faf4551

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

hw-model/src/model_fpga_subsystem.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -827,13 +827,12 @@ impl ModelFpgaSubsystem {
827827
}
828828

829829
pub fn i3c_target_configured(&mut self) -> bool {
830-
u32::from(
831-
self.i3c_core()
832-
.unwrap()
833-
.stdby_ctrl_mode()
834-
.stby_cr_device_addr()
835-
.read(),
836-
) != 0
830+
self.i3c_core()
831+
.unwrap()
832+
.i3c_base()
833+
.hc_control()
834+
.read()
835+
.bus_enable()
837836
}
838837

839838
pub fn start_recovery_bmc(&mut self) {

0 commit comments

Comments
 (0)