diff --git a/src/platform/baytrail/include/platform/lib/memory.h b/src/platform/baytrail/include/platform/lib/memory.h index 2020a1bbd..aaeb9c4e7 100644 --- a/src/platform/baytrail/include/platform/lib/memory.h +++ b/src/platform/baytrail/include/platform/lib/memory.h @@ -193,10 +193,6 @@ static inline void *platform_rfree_prepare(void *ptr) #define SOF_MEM_RO_SIZE 0x8 -#define uncache_to_cache(address) address -#define cache_to_uncache(address) address -#define is_uncached(address) 0 - #endif /* __PLATFORM_LIB_MEMORY_H__ */ #else diff --git a/src/platform/haswell/include/platform/lib/memory.h b/src/platform/haswell/include/platform/lib/memory.h index a4031821a..e401b0dbc 100644 --- a/src/platform/haswell/include/platform/lib/memory.h +++ b/src/platform/haswell/include/platform/lib/memory.h @@ -187,10 +187,6 @@ static inline void *platform_rfree_prepare(void *ptr) #define SOF_MEM_RO_SIZE 0x8 -#define uncache_to_cache(address) address -#define cache_to_uncache(address) address -#define is_uncached(address) 0 - #endif /* __PLATFORM_LIB_MEMORY_H__ */ #else diff --git a/src/platform/imx8/include/platform/lib/memory.h b/src/platform/imx8/include/platform/lib/memory.h index ccd88a53a..ea72b4ffc 100644 --- a/src/platform/imx8/include/platform/lib/memory.h +++ b/src/platform/imx8/include/platform/lib/memory.h @@ -165,10 +165,6 @@ #define SOF_MEM_RO_SIZE 0x8 -#define uncache_to_cache(address) address -#define cache_to_uncache(address) address -#define is_uncached(address) 0 - #define HEAP_BUF_ALIGNMENT PLATFORM_DCACHE_ALIGN #if !defined(__ASSEMBLER__) && !defined(LINKER) diff --git a/src/platform/imx8m/include/platform/lib/memory.h b/src/platform/imx8m/include/platform/lib/memory.h index c2f3540ac..ab1be9781 100644 --- a/src/platform/imx8m/include/platform/lib/memory.h +++ b/src/platform/imx8m/include/platform/lib/memory.h @@ -162,10 +162,6 @@ #define SOF_MEM_RO_SIZE 0x8 -#define uncache_to_cache(address) address -#define cache_to_uncache(address) address -#define is_uncached(address) 0 - #define HEAP_BUF_ALIGNMENT PLATFORM_DCACHE_ALIGN #if !defined(__ASSEMBLER__) && !defined(LINKER) diff --git a/src/platform/library/include/platform/lib/memory.h b/src/platform/library/include/platform/lib/memory.h index fa928bd06..fb8fd6a59 100644 --- a/src/platform/library/include/platform/lib/memory.h +++ b/src/platform/library/include/platform/lib/memory.h @@ -29,10 +29,6 @@ #define SHARED_DATA -#define uncache_to_cache(address) (address) -#define cache_to_uncache(address) (address) -#define is_uncached(address) 0 - static inline void *platform_shared_get(void *ptr, int bytes) { return ptr;