Move the code to a different memory location to not interfere with the HBL sd_loader

This commit is contained in:
Maschell 2021-12-30 15:26:06 +01:00
parent 96861562c7
commit 9837a8457f
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ SaveAndResetDataBATs_And_SRs_hook:
#define BAT_SET_NOP_ADDR_8 0xFFEE11C4
#define BAT_SET_NOP_ADDR_9 0xFFEE11C8
#define BAT_SETUP_HOOK_ENTRY 0x00800000
#define BAT_SETUP_HOOK_ENTRY 0x00900000
#define BAT4U_VAL 0x008000FF

View File

@ -3,7 +3,7 @@ OUTPUT(payload.elf);
ENTRY(_start);
SECTIONS {
. = 0x00800000;
. = 0x00900000;
.text : {
*(.kernel_code*);
*(.text*);