mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add placeholder for the efuse flow in the rootkey service
This commit is contained in:
parent
8208a86c08
commit
f84a9d10c7
2 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
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
|
hazardous-debug = [] # this feature enables the printing of secret materials for debug purposes
|
||||||
tts = []
|
tts = []
|
||||||
|
efuse = []
|
||||||
default = []
|
default = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
||||||
|
|
@ -277,6 +277,11 @@ impl RootKeys {
|
||||||
Err(xous::Error::InternalError)
|
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> {
|
pub fn is_jtag_working(&self) -> Result<bool, xous::Error> {
|
||||||
let response = send_message(self.conn,
|
let response = send_message(self.conn,
|
||||||
Message::new_blocking_scalar(Opcode::IsJtagWorking.to_usize().unwrap(), 0, 0, 0, 0)
|
Message::new_blocking_scalar(Opcode::IsJtagWorking.to_usize().unwrap(), 0, 0, 0, 0)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue