mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add spinor defs to cramium-emu
this is a shim that reps both boards and "chips" for hosted mode so it's OK to mash them together as a synthetic target
This commit is contained in:
parent
e3cb5e495c
commit
86b079f2f4
1 changed files with 7 additions and 0 deletions
|
|
@ -4,3 +4,10 @@ pub mod i2c;
|
|||
pub mod keyboard;
|
||||
pub mod trng;
|
||||
pub mod udma;
|
||||
|
||||
pub const SPINOR_PAGE_LEN: u32 = 0x100;
|
||||
pub const SPINOR_ERASE_SIZE: u32 = 0x1000; // this is the smallest sector size.
|
||||
pub const SPINOR_BULK_ERASE_SIZE: u32 = 0x1_0000; // this is the bulk erase size.
|
||||
pub const SPINOR_LEN: u32 = 16384 * 1024;
|
||||
pub const PDDB_LOC: u32 = 4096 * 1024; // located 4MiB in, after the swap image
|
||||
pub const PDDB_LEN: u32 = 4096 * 1024; // 4MiB data for the PDDB total
|
||||
|
|
|
|||
Loading…
Reference in a new issue