Dear Ilya Yanok, > This is a draft implementation of cache coherent memory allocator. > This simple implementation just reserves memory area below malloc > space and leave it uncached even if data cache is enabled. > Allocations are even simpler: code just verifies that we have > enough space and increments the offset counter. No deallocations > supported for now. In future versions we could probably use > dlmalloc allocator to get space out of coherent pool. > > Signed-off-by: Ilya Yanok <ilya.ya...@cogentembedded.com>
Hm, can't we just punch a hole in the MMU table at runtime instead of preallocating it like this? Also, what is this for? Can we not simply flush/invalidate the caches? Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot