fusee_cpp: move mtc code/used-tables to nv memory (needed for mariko downtrain fix)

This commit is contained in:
Michael Scire 2021-09-01 18:25:36 -07:00 committed by SciresM
parent 40e2d4bbe6
commit 598edc0a46
4 changed files with 25 additions and 24 deletions

View file

@ -23,21 +23,17 @@ SECTIONS {
BYTE(0x00);
}
.ovl_mtc_erista {
KEEP(*(.text._ZN3ams6nxboot22DoMemoryTrainingEristaEi))
fusee_mtc_erista.o(.text*);
fusee_mtc_erista.o(.rodata*);
fusee_mtc_erista.o(.data*);
fusee_mtc_erista.o(.bss*);
fusee_mtc_erista.o(SORT(.rodata*));
fusee_mtc_erista.o(SORT(.data*));
fusee_mtc_erista.o(SORT(.bss*));
FILL(0x00000000)
. = ORIGIN(ovl) + LENGTH(ovl) - 1;
BYTE(0x00);
}
.ovl_mtc_mariko {
KEEP(*(.text._ZN3ams6nxboot22DoMemoryTrainingMarikoEi))
fusee_mtc_mariko.o(.text*);
fusee_mtc_mariko.o(.rodata*);
fusee_mtc_mariko.o(.data*);
fusee_mtc_mariko.o(.bss*);
fusee_mtc_mariko.o(SORT(.rodata*));
fusee_mtc_mariko.o(SORT(.data*));
fusee_mtc_mariko.o(SORT(.bss*));
FILL(0x00000000)
. = ORIGIN(ovl) + LENGTH(ovl) - 1;
BYTE(0x00);