add placeholder for the efuse flow in the rootkey service

This commit is contained in:
bunnie 2022-12-04 18:13:37 +08:00
parent 8208a86c08
commit f84a9d10c7
2 changed files with 6 additions and 0 deletions

View file

@ -81,6 +81,7 @@ renode = ["utralib/renode"]
policy-menu = [] # provisions for users to set their password retention policies (on the block for deprecation) (note: to re-enable you need to add "rootkeys menu" to the tokens.rs in the GAM)
hazardous-debug = [] # this feature enables the printing of secret materials for debug purposes
tts = []
efuse = []
default = []
[lib]

View file

@ -277,6 +277,11 @@ impl RootKeys {
Err(xous::Error::InternalError)
}
}
#[cfg(feature="efuse")]
pub fn do_efuse_burn(&self) {
log::info!("placeholder for now");
// placeholder
}
pub fn is_jtag_working(&self) -> Result<bool, xous::Error> {
let response = send_message(self.conn,
Message::new_blocking_scalar(Opcode::IsJtagWorking.to_usize().unwrap(), 0, 0, 0, 0)