[test] Remove status check from BootstrapTest::start()
This commit removes the status check from BootstrapTest::start() since
we already have a test for that and reset_delay should be enough
Signed-off-by: Alphan Ulusoy <alphan@google.com>
diff --git a/sw/host/tests/rom/e2e_bootstrap_entry/src/main.rs b/sw/host/tests/rom/e2e_bootstrap_entry/src/main.rs
index c53ec8d..81c6c08 100644
--- a/sw/host/tests/rom/e2e_bootstrap_entry/src/main.rs
+++ b/sw/host/tests/rom/e2e_bootstrap_entry/src/main.rs
@@ -6,7 +6,6 @@
use regex::Regex;
use std::matches;
use std::ops::Drop;
-use std::thread;
use std::time::Duration;
use structopt::StructOpt;
@@ -80,12 +79,6 @@
};
transport.apply_pin_strapping("ROM_BOOTSTRAP")?;
transport.reset_target(b.reset_delay, true)?;
-
- let spi = transport.spi("0")?;
- while SpiFlash::read_status(&*spi)? != 0 {
- thread::sleep(Duration::from_millis(10));
- }
-
Ok(b)
}
}