add the location of the backup block

This commit is contained in:
bunnie 2022-07-12 03:31:37 +08:00
parent ed2f029874
commit fa21e01b94

View file

@ -31,6 +31,7 @@ pub const EARLY_SETTINGS: u32 = 0x0097_0000;
pub const KERNEL_LOC: u32 = 0x0098_0000; // kernel start
pub const KERNEL_LEN: u32 = 0x0140_0000; // max kernel length = 0xA0_0000 * 2 => half the area for backup kernel & updates
pub const BACKUP_OFFSET: u32 = KERNEL_LEN - 0x1000; // last page of kernel is where the backup block gets located = 0x1D7_F000
pub const EC_REGION_LOC: u32 = 0x07F8_0000; // EC update staging area. Must be aligned to a 64k-address.
pub const EC_WF200_PKG_LOC: u32 = 0x07F8_0000;