mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-27 06:42:02 +00:00
fix(core): fix secret & assets start address const
[no changelog]
This commit is contained in:
parent
059152d9b4
commit
a747210f54
@ -28,11 +28,11 @@ FIRMWARE_P1_SECTOR_START = 0x6;
|
||||
FIRMWARE_P1_SECTOR_END = 0xb;
|
||||
KERNEL_START = 0x8040000;
|
||||
KERNEL_MAXSIZE = 0x80000;
|
||||
SECRET_START = 0x8104000;
|
||||
SECRET_START = 0x8100000;
|
||||
SECRET_MAXSIZE = 0x4000;
|
||||
SECRET_SECTOR_START = 0xc;
|
||||
SECRET_SECTOR_END = 0xc;
|
||||
ASSETS_START = 0x8100000;
|
||||
ASSETS_START = 0x8104000;
|
||||
ASSETS_MAXSIZE = 0x8000;
|
||||
ASSETS_SECTOR_START = 0xd;
|
||||
ASSETS_SECTOR_END = 0xe;
|
||||
|
@ -66,12 +66,12 @@
|
||||
#define KERNEL_START 0x08040000
|
||||
#define KERNEL_MAXSIZE (4 * 128 * 1024)
|
||||
|
||||
#define SECRET_START 0x08104000
|
||||
#define SECRET_START 0x08100000
|
||||
#define SECRET_MAXSIZE (1 * 16 * 1024) // 16 kB
|
||||
#define SECRET_SECTOR_START 12
|
||||
#define SECRET_SECTOR_END 12
|
||||
|
||||
#define ASSETS_START 0x08100000
|
||||
#define ASSETS_START 0x08104000
|
||||
#define ASSETS_MAXSIZE (2 * 16 * 1024) // 32 kB
|
||||
#define ASSETS_SECTOR_START 13
|
||||
#define ASSETS_SECTOR_END 14
|
||||
|
Loading…
Reference in New Issue
Block a user