This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am3358 outer_cache.clean_range is NULL

Other Parts Discussed in Thread: AM3358

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.