memory: remove uncache macros from several platforms

Removes uncache macros from platforms, which don't support
uncached memory region.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
Tomasz Lauda 2020-01-24 12:37:24 +01:00 committed by Janusz Jankowski
parent 9e4d1aae90
commit e025338813
5 changed files with 0 additions and 20 deletions

View File

@ -193,10 +193,6 @@ static inline void *platform_rfree_prepare(void *ptr)
#define SOF_MEM_RO_SIZE 0x8 #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__ */ #endif /* __PLATFORM_LIB_MEMORY_H__ */
#else #else

View File

@ -187,10 +187,6 @@ static inline void *platform_rfree_prepare(void *ptr)
#define SOF_MEM_RO_SIZE 0x8 #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__ */ #endif /* __PLATFORM_LIB_MEMORY_H__ */
#else #else

View File

@ -165,10 +165,6 @@
#define SOF_MEM_RO_SIZE 0x8 #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 #define HEAP_BUF_ALIGNMENT PLATFORM_DCACHE_ALIGN
#if !defined(__ASSEMBLER__) && !defined(LINKER) #if !defined(__ASSEMBLER__) && !defined(LINKER)

View File

@ -162,10 +162,6 @@
#define SOF_MEM_RO_SIZE 0x8 #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 #define HEAP_BUF_ALIGNMENT PLATFORM_DCACHE_ALIGN
#if !defined(__ASSEMBLER__) && !defined(LINKER) #if !defined(__ASSEMBLER__) && !defined(LINKER)

View File

@ -29,10 +29,6 @@
#define SHARED_DATA #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) static inline void *platform_shared_get(void *ptr, int bytes)
{ {
return ptr; return ptr;