add constant to precursor board file

this helps with cross-target builds...
This commit is contained in:
bunnie 2025-05-18 09:24:33 +08:00
parent 23c2b77ace
commit 7947949589

View file

@ -31,6 +31,8 @@ pub const EC_REGION_LEN: u32 = 0x0008_0000;
pub const PDDB_LOC: u32 = 0x01D8_0000; // PDDB start
pub const PDDB_LEN: u32 = EC_REGION_LOC - PDDB_LOC; // must be 64k-aligned (bulk erase block size) for proper function.
pub const SPINOR_ERASE_SIZE: u32 = 0x1000;
// quantum alloted to each process before a context switch is forced
// This is also platform-specific because it can be tuned based on CPU speed.
pub const BASE_QUANTA_MS: u32 = 10;