mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
clean up xtask run warnings
This commit is contained in:
parent
c3fc3ff23f
commit
c44547336b
1 changed files with 9 additions and 0 deletions
|
|
@ -85,6 +85,12 @@ mod implementation {
|
||||||
use num_traits::*;
|
use num_traits::*;
|
||||||
use crate::{SignatureResult, GatewareRegion, MetadataInFlash};
|
use crate::{SignatureResult, GatewareRegion, MetadataInFlash};
|
||||||
|
|
||||||
|
#[derive(Debug, Copy, Clone)]
|
||||||
|
#[allow(dead_code)]
|
||||||
|
pub enum FpgaKeySource {
|
||||||
|
Bbram,
|
||||||
|
Efuse,
|
||||||
|
}
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
pub struct RootKeys {
|
pub struct RootKeys {
|
||||||
password_type: Option<PasswordType>,
|
password_type: Option<PasswordType>,
|
||||||
|
|
@ -179,6 +185,9 @@ mod implementation {
|
||||||
pub fn is_pcache_boot_password_valid(&self) -> bool {
|
pub fn is_pcache_boot_password_valid(&self) -> bool {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
pub fn fpga_key_source(&self) -> FpgaKeySource {
|
||||||
|
FpgaKeySource::Efuse
|
||||||
|
}
|
||||||
|
|
||||||
pub fn fetch_gw_metadata(&self, _region_enum: GatewareRegion) -> MetadataInFlash {
|
pub fn fetch_gw_metadata(&self, _region_enum: GatewareRegion) -> MetadataInFlash {
|
||||||
MetadataInFlash {
|
MetadataInFlash {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue