diff --git a/src/arch/host/include/arch/sof.h b/src/arch/host/include/arch/sof.h index b960fd106..011bbb0e0 100644 --- a/src/arch/host/include/arch/sof.h +++ b/src/arch/host/include/arch/sof.h @@ -21,11 +21,6 @@ /* data cache line alignment */ #define PLATFORM_DCACHE_ALIGN sizeof(uint32_t) -#define PLATFORM_HEAP_SYSTEM 1 -#define PLATFORM_HEAP_SYSTEM_RUNTIME 1 -#define PLATFORM_HEAP_RUNTIME 1 -#define PLATFORM_HEAP_BUFFER 3 - static inline void *arch_get_stack_ptr(void) { void *frames[ARCH_STACK_DUMP_FRAMES]; diff --git a/src/platform/library/include/platform/memory.h b/src/platform/library/include/platform/memory.h index 6061766ea..146bdfc41 100644 --- a/src/platform/library/include/platform/memory.h +++ b/src/platform/library/include/platform/memory.h @@ -20,6 +20,11 @@ #define MAILBOX_BASE 0 #define MAILBOX_BASE_SIZE 0x400 +#define PLATFORM_HEAP_SYSTEM 1 +#define PLATFORM_HEAP_SYSTEM_RUNTIME 1 +#define PLATFORM_HEAP_RUNTIME 1 +#define PLATFORM_HEAP_BUFFER 3 + #endif /* __PLATFORM_MEMORY_H__ */ #else