mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
remove spinor defs from the swapper
should be defined in the board, not in the swapper
This commit is contained in:
parent
71f444ff3d
commit
e3cb5e495c
1 changed files with 0 additions and 6 deletions
|
|
@ -1,11 +1,5 @@
|
|||
pub const SERVER_NAME_SPINOR: &str = "_SPINOR Hardware Interface Server_";
|
||||
|
||||
#[cfg_attr(not(target_os = "xous"), allow(dead_code))]
|
||||
pub const SPINOR_ERASE_SIZE: u32 = 0x1000; // this is the smallest sector size.
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub const SPINOR_BULK_ERASE_SIZE: u32 = 0x1_0000; // this is the bulk erase size.
|
||||
|
||||
#[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)]
|
||||
pub(crate) enum Opcode {
|
||||
/// writes are split into multiple transactions. Must acquire exclusive rights before initiation
|
||||
|
|
|
|||
Loading…
Reference in a new issue