diff --git a/src/platform/amd/rembrandt/lib/memory.c b/src/platform/amd/rembrandt/lib/memory.c index 1e7caebd0a2e..4d289a95c112 100644 --- a/src/platform/amd/rembrandt/lib/memory.c +++ b/src/platform/amd/rembrandt/lib/memory.c @@ -10,7 +10,7 @@ #include #include #include - +#ifndef __ZEPHYR__ /* Heap blocks for system runtime */ static SHARED_DATA struct block_hdr sys_rt_block64[HEAP_SYS_RT_COUNT64]; static SHARED_DATA struct block_hdr sys_rt_block512[HEAP_SYS_RT_COUNT512]; @@ -93,3 +93,4 @@ void platform_init_memmap(struct sof *sof) /* memmap has been initialized statically as a part of .data */ sof->memory_map = &memmap; } +#endif