soc/mediatek/mtk_adsp: Support __nocache
This is a pre-existing (but rarely used) Zephyr linker tag. Support it instead of reinventing something similar. Signed-off-by: Andy Ross <andyross@google.com>
This commit is contained in:
parent
8b39d4a613
commit
2cbce9e8d1
2 changed files with 8 additions and 0 deletions
|
@ -31,6 +31,9 @@ config IRQ_OFFLOAD_NESTED
|
||||||
default n if SOC_SERIES_MT818X
|
default n if SOC_SERIES_MT818X
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config NOCACHE_MEMORY
|
||||||
|
default y
|
||||||
|
|
||||||
config MTK_ADSP_TIMER
|
config MTK_ADSP_TIMER
|
||||||
default y
|
default y
|
||||||
config XTENSA_TIMER
|
config XTENSA_TIMER
|
||||||
|
|
|
@ -110,6 +110,11 @@ SECTIONS {
|
||||||
_end = .;
|
_end = .;
|
||||||
_mtk_adsp_dram_end = .;
|
_mtk_adsp_dram_end = .;
|
||||||
|
|
||||||
|
.nocache (NOLOAD) : {
|
||||||
|
. = ALIGN(4096);
|
||||||
|
*(.nocache .nocache.*)
|
||||||
|
} > dram
|
||||||
|
|
||||||
/* Non-runtime-loaded sections below */
|
/* Non-runtime-loaded sections below */
|
||||||
|
|
||||||
#include <zephyr/linker/debug-sections.ld>
|
#include <zephyr/linker/debug-sections.ld>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue