In linux 4.1.18 for am3358,
the dma_map_single will call the function outer_clean_range to clean cache for "DMA_TO_DEVICE",
but source of outer_clean_range is :
static inline void outer_clean_range(phys_addr_t start, phys_addr_t end)
{
if (outer_cache.clean_range)
outer_cache.clean_range(start, end);
}
But, outer_cache.clean_range is NULL .
the l2x0_init in cache-l2x0.c, will to initilize the outer_cache, but I can not see any caller to call l2x0_init for am3358.
How to init the cache function for am3358 ?
Thank you.
Shine:
请问用的是哪个版本的SDK?