remove sizes from the emu lib, so it can live in board::

This commit is contained in:
bunnie 2025-05-08 16:01:11 +08:00
parent 5417c2bd87
commit 0cb80c2afb

View file

@ -4,10 +4,3 @@ 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