Skip to content

Commit fc42c82

Browse files
dcpleunggalak
authored andcommitted
soc: intel_s1000: define default MEMCTL reg value
When not using XCC, XCHAL_CACHE_MEMCTL_DEFAULT is not defined which results in some variables not being able to be defined. So define them. Signed-off-by: Daniel Leung <[email protected]>
1 parent 66aefdb commit fc42c82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

soc/xtensa/intel_s1000/linker.ld

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ PHDRS
139139
_rom_store_table = 0;
140140
PROVIDE(_memmap_vecbase_reset = XCHAL_VECBASE_RESET_PADDR_SRAM);
141141

142+
PROVIDE(__memctl_default = 0xFFFFFF00);
143+
PROVIDE(_MemErrorHandler = 0xFFFFFF00);
144+
142145
ENTRY(CONFIG_KERNEL_ENTRY)
143146

144147
/* Various memory-map dependent cache attribute settings: */

0 commit comments

Comments
 (0)