Skip to content

Commit

Permalink
platform: Definitions of mm_heap.h interface are not needed in Zephyr…
Browse files Browse the repository at this point in the history
… build.

Definitions of mm_heap.h interface are not needed in Zephyr builds,
added a no-op version for Zephyr.

Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
  • Loading branch information
DINESHKUMARK1 committed Oct 18, 2024
1 parent 0ba04af commit 1565b1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/amd/rembrandt/lib/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <sof/platform.h>
#include <rtos/sof.h>
#include <ipc/topology.h>

#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];
Expand Down Expand Up @@ -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

0 comments on commit 1565b1a

Please sign in to comment.