From b3b6a9e8ecaa0e3ccd5bd78a3ec457fdff6787a7 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 10 Jan 2022 01:22:33 +0800 Subject: [PATCH] fix error in new length constant --- xous-rs/src/definitions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xous-rs/src/definitions.rs b/xous-rs/src/definitions.rs index 16108ee85..95e1db67e 100644 --- a/xous-rs/src/definitions.rs +++ b/xous-rs/src/definitions.rs @@ -27,7 +27,7 @@ pub const LOADER_FONT_LEN: u32 = 0x0045_0000; // length of font region only pub const LOADER_TOTAL_LEN: u32 = LOADER_CODE_LEN + LOADER_FONT_LEN; // code + font pub const KERNEL_LOC: u32 = 0x0098_0000; // kernel start -pub const KERNEL_LEN: u32 = 0x0148_0000; // max kernel length = 0xA0_0000 * 2 => half the area for backup kernel & updates +pub const KERNEL_LEN: u32 = 0x0140_0000; // max kernel length = 0xA0_0000 * 2 => half the area for backup kernel & updates 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;